array mystery
Peter M. Brigham, MD
pmbrig at gmail.com
Thu May 10 17:34:25 EDT 2012
It was apparently part of Trevor's sqlYoga, supposedly made available now as an opensource utility handler, but I can't find it. The Nabble archives show an "altPrintKeys()" function but the output is not a readable display of the structure of an array, it's designed for utility work in massaging arrays. I'd like to get hold of the original printKeys() handler somewhere. Where can I find it?
-- Peter
Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig
On May 10, 2012, at 3:20 PM, Bob Sneidar wrote:
> I believe it is part of the Datagrid library. Add a datagrid to your project and see if it works.
>
> Bob
>
>
> On May 10, 2012, at 11:12 AM, Peter M. Brigham, MD wrote:
>
>> 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
>>
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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