Problems with arrayencode/decode

Peter Haworth pete at lcsql.com
Thu Jan 3 12:31:44 EST 2013


Hi Richard,
I tried binary access and non-binary access but got the same problem either
way.  What file access mode results from using the get/put URL commands?
Pete
lcSQL Software <http://www.lcsql.com>


On Thu, Jan 3, 2013 at 6:14 AM, Richard Gaskin
<ambassador at fourthworld.com>wrote:

> 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<http://twitter.com/FourthWorldSys>
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode>
>



More information about the use-livecode mailing list