array mystery
Peter M. Brigham, MD
pmbrig at gmail.com
Thu May 10 14:12:51 EDT 2012
Sorry, I know you've written about printkeys() but I don't have it. Is it a function handler? If so can you post it again or send it to me? Thanks.
-- Peter
Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig
On May 10, 2012, at 12:02 PM, Bob Sneidar wrote:
> Have you tried to use printKeys() to convert the array to a string to view the array contents? Maybe you could set the clipboarddata["rtftext"] to printkeys(myArray) and then paste the text into a text editor? You could make the array a global so you can see what it contains after the script finishes executing as well.
>
> Bob
>
>
> On May 10, 2012, at 6:27 AM, Peter M. Brigham, MD wrote:
>
>> Well, I've given up for the moment. Weeding out null characters made no difference, and arrayEncoding/decoding made no difference, and putting the text string into a field and getting the text of the field made no difference, so it wasn't the cross-platform line delimiter issue, as I had thought. I still don't know what the problem is. The debugger shows the correct array contents, but getting the array content from a script returns empty. I'm going to use a different page-scraping approach entirely when I can stand to go back to it -- that will be a bigger job.
>
>
> _______________________________________________
> 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
More information about the use-livecode
mailing list