Problems with arrayencode/decode

Richard Gaskin ambassador at fourthworld.com
Thu Jan 3 09:14:24 EST 2013


Peter Haworth wrote:
> Hi Phil,
> Happy to say that worked.  The only real difference is the use of get url
> and put url so not sure what was going wrong before but thanks for
> correcting it!

Were you reading as "file" or "binfile"?

I run encoded arrays through base64Encode for network transport, but for 
local storage I skip that and just read/write them as they are.

But the format contains high-ASCII bytes, so reading/writing must be 
done as binary to preserve their structure.

--
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  http://twitter.com/FourthWorldSys




More information about the use-livecode mailing list