>>I'm a little out to lunch here. Your point is that *objects* are always passed by reference *regardless*.
>>
>>i.e. You can't pass object by value.
>>
>
>You never pass an object, you pass an object reference, which can be by value or by reference. To actually pass an object by value, you'd have to create a copy of the object in the calling code and destroy the created object copy on return.
The point here is that I didn't know Nigel was speaking of objects; I replied to his message thinking he was speaking of variables. Anyways, not too important.
To say "you pass an object by reference" means the same thing as "you pass an object reference" as far as I'm concerned.
As far as creating and then destoying an object in the calling routine, that is not really passing the object. That is just creating something that will be in scope in the called function. But your meaning is understood.
Take care,
Joe
Joseph C. Kempel
Systems Analyst/Programmer
JNC