Page 1 of 1
Storing an array into a custom var ? [SOLVED]
Posted: Sat Apr 12, 2014 9:12 am
by atout66
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.
Re: Storing an array into a custom var ?
Posted: Sat Apr 12, 2014 9:54 am
by Simon
Hello Jean-Paul,
arrayEncode arrayDecode can be use to save as a custom property.
Simon
Re: Storing an array into a custom var ?
Posted: Sat Apr 12, 2014 11:39 am
by Klaus
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
Re: Storing an array into a custom var ?
Posted: Sat Apr 12, 2014 12:58 pm
by atout66
Thanks a lot for your help.

Re: Storing an array into a custom var ?
Posted: Sat Apr 12, 2014 1:15 pm
by SparkOut
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
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.)