Hi to all,
I'm wondering if it's possible to store an array into a custom property of a card ?
The array is text only, multidimentionnal.
I didn't find the answer yet elsewhere...
Kind regards, Jean-Paul.
Storing an array into a custom var ? [SOLVED]
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Storing an array into a custom var ? [SOLVED]
Last edited by atout66 on Sat Apr 12, 2014 12:58 pm, edited 1 time in total.
Discovering LiveCode Community 6.5.2.
Re: Storing an array into a custom var ?
Hello Jean-Paul,
arrayEncode arrayDecode can be use to save as a custom property.
Simon
arrayEncode arrayDecode can be use to save as a custom property.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Storing an array into a custom var ?
Hi friends,
starting with version 6.x you don't even need to encode that thing:
...
set the cProp of this stack to tArray
...
does the job
Best
Klaus
starting with version 6.x you don't even need to encode that thing:
...
set the cProp of this stack to tArray
...
does the job

Best
Klaus
Re: Storing an array into a custom var ?
Thanks a lot for your help. 

Discovering LiveCode Community 6.5.2.
Re: Storing an array into a custom var ?
Works fine like that in 5.5.5 and 5.5.4 too (on Windows. Not tested any other versions but I'd believed I've used it like that since forever.)Klaus wrote:Hi friends,
starting with version 6.x you don't even need to encode that thing:
...
set the cProp of this stack to tArray
...
does the job![]()
Best
Klaus