Re: pass by reference
- Posted by petelomax at blueyonder.co.uk Feb 20, 2002
- 576 views
On Wed, 20 Feb 2002 15:41:23 +1100, Derek Parnell <ddparnell at bigpond.com> wrote: >The other thing you might want to add is the ability to detect at run time, >whether or not a >variable has been initialized. OTOH.. Suppose I am building result_set but then something semi-catastrophic happens which invalidates everything about result_set, maybe we should not even have been building result_set, we suddenly realise it is a condition_set or something. Therefore we should uninitialise(result_set) so that if any other part of the program tries to reference it, it should cause a trap (to be fair, the interpereter would have to report different errors to avoid confusion). Just a thought, doubt any milage in it, - might it have useful application in a multi-threaded environment? Pete