Storing arrays
Wilhelm Sanke
sanke at hrz.uni-kassel.de
Sat Apr 19 17:52:01 EDT 2003
On Sat, 19 Apr 2003 Shari <gypsyware at earthlink.net> wrote:
> Is it possible to store an array when you quit the program? The
> array my program will use takes too long to build, and I'd like to
> create it once, and just "call it up" when the program launches,
> rather than build it from scratch.
>
> Shari C
> -- --Shareware Games for the Mac-- http://www.gypsyware.com
>
Store your array "uMap[x,y]" in a custom property of an object like
that:
"set the customproperties[storedUMap] of card x to uMap".
Retrieve it when you open the stack by
"put the customproperties[storedUMap] of card x into uMap"
Regards,
Wilhelm Sanke
More information about the metacard
mailing list