OB SET ARRAY creates a collection based on the array and links that collection
with the object.
Now that we have object notation, there is really no need to use this command
anymore.
But that is a matter of preference, you can code however way you like.
You can access the collection directly or indirectly.
By that I mean, if you do
$o:=New object
$c:=New collection("one";"two";"three")
$o.c:=$c
$o.c and $c are references to the same collection.
You can
$c:=$c.remove(1)
or
$c:=$o.c.remove(1)
it's the same thing.
---
iNUG will become a deserted town sooner or later, time to join
discuss.4D.com<http://discuss.4D.com>!
**********************************************************************
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************