Re: array mystery

2012-05-14 Thread Bob Sneidar
Yup that is pretty much what Trevor did. Bob On May 12, 2012, at 9:10 AM, Peter M. Brigham, MD wrote: > On May 10, 2012, at 5:49 PM, Bob Sneidar wrote: > >> I just forwarded an email Trevor sent to the list some time ago with the >> code in it. >> >> Bob >> >> >> On May 10, 2012, at 2:34

Re: array mystery

2012-05-12 Thread Peter M. Brigham, MD
On May 10, 2012, at 5:49 PM, Bob Sneidar wrote: > I just forwarded an email Trevor sent to the list some time ago with the code > in it. > > Bob > > > On May 10, 2012, at 2:34 PM, Peter M. Brigham, MD wrote: > >> It was apparently part of Trevor's sqlYoga, supposedly made available now as >

Re: array mystery

2012-05-10 Thread Bob Sneidar
Huh. I bet if I had saved the test stack then reopened it I would have been able to call the function. Bob On May 10, 2012, at 3:12 PM, Peter Haworth wrote: > I think it's in the datagrid library. Form the message box, "send > printkeys() to group ". That works for me and I don't have > sql

Re: array mystery

2012-05-10 Thread Peter Haworth
I think it's in the datagrid library. Form the message box, "send printkeys() to group ". That works for me and I don't have sqlYoga. Pete lcSQL Software On Thu, May 10, 2012 at 2:51 PM, Bob Sneidar wrote: > I had a conversation with someone some time ago and I had sai

Re: array mystery

2012-05-10 Thread Bob Sneidar
I had a conversation with someone some time ago and I had said it was part of the sqlYoga library. Someone corrected me and said it was part of the Datagrid Library. Seems I was initially correct. Adding a datagrid to your stack does not give you access to printkeys(), but using sqlYoga does. Al

Re: array mystery

2012-05-10 Thread Bob Sneidar
I just forwarded an email Trevor sent to the list some time ago with the code in it. Bob On May 10, 2012, at 2:34 PM, Peter M. Brigham, MD wrote: > 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 ar

Re: array mystery

2012-05-10 Thread Peter M. Brigham, MD
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 massagin

Re: array mystery

2012-05-10 Thread Bob Sneidar
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 sen

Re: array mystery

2012-05-10 Thread Peter M. Brigham, MD
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 pmb...@gmail.com http://home.comcast.net/~pmbrig On May 10, 2012, at 12:02 PM, Bob Sneidar wrote: > Have you tried to us

Re: array mystery

2012-05-10 Thread Bob Sneidar
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 fin

Re: array mystery

2012-05-10 Thread Peter M. Brigham, MD
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

Re: array mystery

2012-05-09 Thread Peter Haworth
Hi Peter, I know this is a bit late but I just remembered there's a pretty cool screen scraping plugin for Firefox called Outwit Hub. I've used it a few times and it's worked very nicely. Probably too late for you now since you've written LC handlers to do it. Pete lcSQL Software

Re: array mystery

2012-05-03 Thread Bob Sneidar
check for null or other special characters? Bob On May 3, 2012, at 10:47 AM, Peter M. Brigham, MD wrote: > I have a customprop, CYPdata, that is an array, each element of which is an > array itself. I am scraping the data to build CYPdata from an HTML page on > the web, and filling it via scr

Re: array mystery

2012-05-03 Thread Richard Gaskin
Peter M. Brigham wrote: On May 3, 2012, at 5:34 PM, dunbarx at aol.com wrote: Peter. There was a very recent thread about permissible chars for an array, and it seems that all chars except null work fine. is it possible that your recalcitrant empty lines might contain (or simply be) a null?

Re: array mystery

2012-05-03 Thread Peter M. Brigham, MD
On May 3, 2012, at 5:34 PM, dunb...@aol.com wrote: > Peter. > > There was a very recent thread about permissible chars for an array, and it > seems that all chars except null work fine. is it possible that your > recalcitrant empty lines might contain (or simply be) a null? Would putting the s

Re: array mystery

2012-05-03 Thread Peter M. Brigham, MD
On May 3, 2012, at 3:10 PM, Ken Ray wrote: > > On May 3, 2012, at 12:47 PM, Peter M. Brigham, MD wrote: > >> I have a customprop, CYPdata, that is an array, each element of which is an >> array itself. I am scraping the data to build CYPdata from an HTML page on >> the web, and filling it via

Re: array mystery

2012-05-03 Thread dunbarx
LiveCode Sent: Thu, May 3, 2012 4:33 pm Subject: Re: array mystery On May 3, 2012, at 3:10 PM, Ken Ray wrote: > > On May 3, 2012, at 12:47 PM, Peter M. Brigham, MD wrote: > >> I have a customprop, CYPdata, that is an array, each element of which is an array itself. I am scrap

Re: array mystery

2012-05-03 Thread Peter M. Brigham, MD
On May 3, 2012, at 3:10 PM, Ken Ray wrote: > > On May 3, 2012, at 12:47 PM, Peter M. Brigham, MD wrote: > >> I have a customprop, CYPdata, that is an array, each element of which is an >> array itself. I am scraping the data to build CYPdata from an HTML page on >> the web, and filling it via

Re: array mystery

2012-05-03 Thread Ken Ray
On May 3, 2012, at 12:47 PM, Peter M. Brigham, MD wrote: > I have a customprop, CYPdata, that is an array, each element of which is an > array itself. I am scraping the data to build CYPdata from an HTML page on > the web, and filling it via script by parsing the HTML. There is an odd bug > th

array mystery

2012-05-03 Thread Peter M. Brigham, MD
I have a customprop, CYPdata, that is an array, each element of which is an array itself. I am scraping the data to build CYPdata from an HTML page on the web, and filling it via script by parsing the HTML. There is an odd bug that I'm trying to get to the bottom of, and something strange is hap