URL FILE DYNAMIC
Sarah Reichelt
sarah.reichelt at gmail.com
Sun Oct 28 16:38:54 EDT 2007
> Is it possible to change the URL filename dynamically ?
>
> put URL "file:filename.txt"
Certainly. Try something like this:
put "My Data File" into tFileName
put URL ("file:" & tFileName & ".txt") into tData
You have to use the brackets, so the string for the file specification
gets put together before the URL command tries to do anything, but
inside the brackets, you can just do the usual string handling.
HTH,
Sarah
More information about the use-livecode
mailing list