Re: Confused about storing arrays in a custom property

2011-08-23 Thread Pete
; bit > >>>> fussy about the data definition and the supported size. > >>>> > >>>> Jan Schenkel. > >>>> = > >>>> Quartam Reports & PDF Library for LiveCode > >>>> www.quartam.com > >>>

Re: Confused about storing arrays in a custom property

2011-08-23 Thread Bob Sneidar
l. >>>> = >>>> Quartam Reports & PDF Library for LiveCode >>>> www.quartam.com >>>> >>>> >>>> = >>>> "As we grow older, we grow both wiser and more foolish at the same >> time."

Re: Confused about storing arrays in a custom property

2011-08-23 Thread Pete
>> Jan Schenkel. > >> = > >> Quartam Reports & PDF Library for LiveCode > >> www.quartam.com > >> > >> > >> = > >> "As we grow older, we grow both wiser and more foolish at the same > time." > >&

Re: Confused about storing arrays in a custom property

2011-08-23 Thread Bob Sneidar
row both wiser and more foolish at the same time." >> (La Rochefoucauld) >> >> >> ----- Original Message - >> From: Pete >> To: How to use LiveCode >> Cc: >> Sent: Monday, August 22, 2011 11:30 PM >> Subject: Re: Confused about

Re: Confused about storing arrays in a custom property

2011-08-23 Thread Pete
for LiveCode > www.quartam.com > > > = > "As we grow older, we grow both wiser and more foolish at the same time." > (La Rochefoucauld) > > > - Original Message - > From: Pete > To: How to use LiveCode > Cc: > Sent: Monday, August

Re: Confused about storing arrays in a custom property

2011-08-23 Thread Jan Schenkel
2, 2011 11:30 PM Subject: Re: Confused about storing arrays in a custom property Hi Jan, The base64Encode worked great, thanks for the tip!  I didn't need to store it as a CLOB type actually, just as regular text. Pete Molly's Revenge <http://www.mollysrevenge.com> ___

Re: Confused about storing arrays in a custom property

2011-08-22 Thread Pete
.com > > > = > "As we grow older, we grow both wiser and more foolish at the same time." > (La Rochefoucauld) > > > - Original Message - > From: Pete > To: How to use LiveCode > Cc: > Sent: Monday, August 22, 2011 8:28 PM > Subject: Re:

Re: Confused about storing arrays in a custom property

2011-08-22 Thread Pete
ser and more foolish at the same time." > (La Rochefoucauld) > > > - Original Message - > From: Pete > To: How to use LiveCode > Cc: > Sent: Monday, August 22, 2011 8:28 PM > Subject: Re: Confused about storing arrays in a custom property > > I do s

Re: Confused about storing arrays in a custom property

2011-08-22 Thread Jan Schenkel
= "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) - Original Message - From: Pete To: How to use LiveCode Cc: Sent: Monday, August 22, 2011 8:28 PM Subject: Re: Confused about storing arrays in a custom property I do store i

Re: Confused about storing arrays in a custom property

2011-08-22 Thread Pete
, the resulting line would be "abcdefxyz". This > was > > the cause of my other recent posts about what happens when the last item > in > > a string is empty. Provided some interesting recursion opportunities! > > > > Pete > > Molly's Revenge &

Re: Confused about storing arrays in a custom property

2011-08-22 Thread Bob Sneidar
ndrew Kluthe wrote: > >> It sounds to me like binary is the data type you want here. >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/Confused-about-storing-arrays-in-a-custom-property-tp3757539p3760664.html >> Sent from

Re: Confused about storing arrays in a custom property

2011-08-22 Thread Pete
this message in context: > http://runtime-revolution.278305.n4.nabble.com/Confused-about-storing-arrays-in-a-custom-property-tp3757539p3760664.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > ___ > use-livecode ma

Re: Confused about storing arrays in a custom property

2011-08-22 Thread Andrew Kluthe
It sounds to me like binary is the data type you want here. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Confused-about-storing-arrays-in-a-custom-property-tp3757539p3760664.html Sent from the Revolution - User mailing list archive at Nabble.com

Re: Confused about storing arrays in a custom property

2011-08-22 Thread Bob Sneidar
I wonder if you shouldn't be using binary? Bob On Aug 21, 2011, at 11:35 AM, Pete wrote: > Thanks Richard, writing to a file (an sqlite database actually) is exactly > what I want to do. > > However, I'm running into a problem with this. I believe I have written the > data correctly to the da

RE: Confused about storing arrays in a custom property

2011-08-22 Thread John Tregea
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Pete Sent: Sunday, 21 August 2011 5:46 AM To: How to use LiveCode Subject: Confused about storing arrays in a custom property I read in the LC manual that it isn;t possible to store an array in a single custom property, yet I have done that

Re: Confused about storing arrays in a custom property

2011-08-21 Thread Pete
Thanks Richard, writing to a file (an sqlite database actually) is exactly what I want to do. However, I'm running into a problem with this. I believe I have written the data correctly to the database as a BLOB column, but when I read it back from the database and use arraydecode to make it into

Re: Confused about storing arrays in a custom property

2011-08-20 Thread Richard Gaskin
Pete wrote: Next issue is using combine and split with multidimensional arrays. It seems like they only work for a single dimension array. I guess to use them with multidimensional arrays, you have to apply them to each level of array key? Maybe a recursive function of some sort? Split and c

Re: Confused about storing arrays in a custom property

2011-08-20 Thread Pete
Great, thanks. Next issue is using combine and split with multidimensional arrays. It seems like they only work for a single dimension array. I guess to use them with multidimensional arrays, you have to apply them to each level of array key? Maybe a recursive function of some sort? Pete Molly'

Re: Confused about storing arrays in a custom property

2011-08-20 Thread Mark Schonewille
Hi Pete, This part of the documentation is probably from the time before multidimensional arrays. When multidimensional arrays were introduced, we also got a way to store them as custom properties. Don't worry. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share t

Confused about storing arrays in a custom property

2011-08-20 Thread Pete
I read in the LC manual that it isn;t possible to store an array in a single custom property, yet I have done that and it seems to work fine. The Inspector doesn't show the value, just a greyed out message about it being an array. Before I go any further down that path, is this a safe thing to do