I agree with you, Alastair. While it is possible to create and define variables 'on the fly', it is a recipe for disaster at worst, and headaches at best.
What I don't get is, if you need to create a variable in the middle of a program, you've got to assign a data type. How would you know? Write more code? Less overhead just to predefine it. However, it is fun to play around with such functionality, and interesting to see what solutions people recommended. But I cannot see how, for normal operations, one would want some evil new variable popping up in the middle of a while loop and creating the loop from hell. Douglas Daily Payroll Manager Facilities Services, box 352215 206-221-4357 On Wed, 10 Sep 2003, Alastair Burr wrote: > Whilst I appreciate that it is sometimes nice to know if a variable already > exists (and, if so, maybe even its value) but I would suggest that it is > much better to declare _all_ of them at the start of your app/cmd > file/eep/whatever and _never_ clear them until the end.

