help reading a text file

Mark Wieder mwieder at ahsoftware.net
Sun Jun 5 12:23:47 EDT 2005


Jon-

Sunday, June 5, 2005, 8:52:55 AM, Alex wrote:

AT>    put URL ("file:" & fName) into f

AT> "URL" acts at higher precedence than "&" does !?

Exactly. You need to tell the URL operator where to stop parsing.
What's happening without the parentheses is

put URL "file:" into f -- which is empty
put fName after f -- there's your filename

-- 
-Mark Wieder
 mwieder at ahsoftware.net



More information about the use-livecode mailing list