I was wondering whether it is necessary to use "binfile" or can I just use "file". The caveat is that the progress data is an array as you can see from the code snipet below. First I arrayencode the array var and then store it in the docs folder on mobile but I use "binfile" instead of "file". I actually got the same results just with "file" but because of the following arrayEncode dic entry I use "binfile".
"The arrayEncode function returns a string of binary data that represents the data and structure of the specified array."
Code: Select all
put arrayencode ( sProgressA ) into URL ( "binfile:" & specialFolderPath ( "documents" ) & slash & tFilepath )
"version - If present, and >= "7.0" then the array is encoded in such a way as to preserve unicode in keys and values, as well as NUL chars in keys and values"
I was also wondering what format the version parameter should take. Could it be just "7" or should it be "7.0" or do I have to put "7.0.1". Also, what if I put "7.0" and then update to 7.1 someday and forget to change the version. I mean how much versioning do I have to specify?