On 15/7/00 12:51 am, David Bovill <[EMAIL PROTECTED]> wrote:
> So I can use spaces? Then I'm stumped with the syntax for refering to the
> properties cos the only one I know is:
>
> set the singleWordProp["Two words"] of this card to "Some other value"
>
> and this wont work if the custom property set is more than one word. In
> other words how would I put something into the custom property "someProp" of
> custom property set "Second set"?
>
> set the Second set["someProp"] of this card to "Some other value" clearly
> doesnt not work, but I can create the relevant sets and props.
If you use spaces in the name of the set, you can only deal with entire sets
at once, because you can't place the required quotes around the first part
of the array in the above syntax. Not advisable. E.g.:
set the customPropertySet of btn 1 to "two words"
put the customProperties of btn 1 into tArray
put "something" into tArray[whateverYouWantToChange]
set the customProperties of btn 1 to tArray
set the customPropertySet of btn 1 to empty
Regards,
Kevin
Kevin Miller <[EMAIL PROTECTED]> <http://www.runrev.com/>
Runtime Revolution Limited (formerly Cross Worlds Computing).
Tel: +44 (0)131 672 2909. Fax: +44 (0)1639 830 707.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.