Forgive me if this is a silly question: I’m still very much feeling my way when
working with objects (although growing to appreciate them more and more).
Are arrays within objects rather second-class properties? I know that I can put
an array into an object using OB SET ARRAY, and I can retrieve it (all of it)
using OB GET ARRAY, but is that all?
Can I use dot notation to refer to the arrays themselves, or to individual
elements of the array?
C_OBJECT($o)
$o:=New object
OB SET ARRAY($o;”array”;$arrayOfLongs)
$o.array{1} - error
$o.array - error
$o[“array”] - error
Am I missing something?
Jeremy
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************