Arrays as custom properties?

john at debraneys.com john at debraneys.com
Sun Mar 19 19:42:41 EST 2006


Thanks everyone,
I appreciate the assistance... 
That has given me a range of practical approaches to the question. 
Kind regards
John T

>-----Original Message-----
>From: Stephen Barncard [mailto:stephenREVOLUTION at barncard.com]
>Sent: Sunday, March 19, 2006 06:27 PM
>To: 'How to use Revolution'
>Subject: Re: Arrays as custom properties?
>
>actually, I use arrays of arrays all the time:
>
>make a text list like this:
>
>key1 <tab> DATA1 <tab> etc/
>key2 <tab> DATA2 <tab> etc/
>key3 <tab> DATA3 <tab> etc/
>
>set the CustomPropSetName[customPropertyName] of this stack to <textList>
>
>each <textlist> property could be made into an array variable for 
>easier use.. from a single custom property. Or you might need lists 
>of lists...
>
>The key is to keep each record of data on one line. Use 
>URLENCODE/URLDECODE for text or htmltext to flatten big blocks of 
>text with paragraphs and styles.
>
>if the data consists only of numbers, there could be comma delimited 
>lists inside of the tab delimited lists... yikes!
>
>then there's quotes....
>
>
>even a single comma delimited list inside a single property can be 
>defined as an array inside of an array...
>
>
>
>
>
>>Thanks Mark,
>>
>>I was hoping to have an array of arrays, but can certainly make it 
>>work using a range of custompropertysets.
>>
>>Regards
>>
>>John
>>
>
>-- 
>stephen barncard
>s a n f r a n c i s c o
>- - - - - - - - - - - -
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list