Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 440

Talking LiveCode • Re: Could anyone help?

$
0
0
Hi Michael,

welcome to the forum!

CODE:

...answer “would you like to open a dictionary?” with “Yes” and “Cancel”if it is “Yes” then        answer file “select a file”       ## Always check:       if it = "cancel" then          exit to top       end if        ## The path to the file is now in the variable IT:        ## And use it OUTSIDE of the quotes!        put url("file:" & IT) into gDictionary        ## Your variable theFilePath is EMPTY!        ## See above: use IT!        ## put URL “file: & theFilePath” into gDictionary        split gDictionary by return and tab        put gDictionary into fld “Keyword”## Not neccessary if there is no ELSE case!## elseend if...
Best

Klaus

Statistics: Posted by Klaus — Thu Jul 25, 2024 8:54 am



Viewing all articles
Browse latest Browse all 440

Trending Articles