Put URL command

Alex Tweedly alex at tweedly.net
Thu Sep 2 20:58:00 EDT 2021


I said :

>> try
>>
>>           put URL "binfile:" & sourceURL into URL ("binfile:" & destinationURL)

No. Don't. I was wrong. That avoids the error message, but gets the 
wrong result. It gives you the content of the URL "binfile:" (i.e. 
empty) plus the value of the variable sourceURL

>> or, if you're cautious like me,
>>
>>           put URL ("binfile:" & sourceURL) into URL ("binfile:" & destinationURL)

Yes. Do it this way. Use parens for URLs

Alex.





More information about the use-livecode mailing list