Difficulty with Load command

Peter Bogdanoff bogdanoff at me.com
Wed Sep 21 23:42:57 EDT 2016


I’m loading an encoded array file from a remote server and want to put it into a variable:

local sURL,sData

load URL sURL with message “downloadComplete"

on downloadComplete
	open URL sURL
	put arrayDecode(sURL) into sData
end downloadComplete


I get an error--
	(put: error in expression), char 1

I don’t think I know what I’m doing :(

The URL is good and the file does download, but I don’t get how to read it.

Peter Bogdanoff



More information about the use-livecode mailing list