>>I've been trying to use the _arraylib in _utility and also the array handling object from the Feb Foxtalk (Kit Box) but I can't pass array properties to the methods by reference:
>>eg.
>>
>>oarraylib.insaitem(@otablestructure.acolumns,"test",1)
>>
>>I have for the time being had to subclass the arraylib and modify it to be able to change arrays that belong to it and use that as the subclass for any classes I anticipate having an array property.
>>
>>Am I being stupid?
>>
>>thanks in advance
>>Penda
>
>I think you can't pass array properties, as parameters. You either have to copy the entire array property to a (non-property) array (slow!), and pass that new array, or pass an object reference, so that the function / method modifies the object properties directly.
>
>Hilmar.
Hilmar,
it's not the array, you can't pass
properties as parameters.
Properties are a little bit different to variables, even if it's wrapped to us.
Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]