Unfortunately not.

> From: "Michael J. Lew" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Fri, 6 Apr 2001 10:33:08 +1000
> To: [EMAIL PROTECTED]
> Subject: Arrays in arrays?
> 
> I want a function to return two different arrays of values and a returned
> array containing the pair of arrays seems an easy way to go ...but it
> doesn't seem to work.
> 
> Can I put an array into an element of another array?
> 

You can store arrays as custom properties of an object and retrieve these
under separate set names though. Here are my scripts:

function getStoredArray setName, someObject
  set the customPropertySet of someObject to setName
  put the customProperties of someObject into someArray
  set the customPropertySet of someObject to empty
  return someArray
end getStoredArray

on setStoredArray setName, someObject,  someArray
  set the customPropertySet of someObject to setName
  set the customProperties of someObject to someArray
  set the customPropertySet of someObject to empty
end setStoredArray



Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to