On May 1, 2007, at 10:54 PM, Marc Zeedar wrote: > I won't weigh in on this debate since I have no position, but I have > a question. > > My experience is with variable declarations at the top so I haven't > gotten used to declaring them later in code, but I can see some value > in doing so. However, the one aspect that confuses me is how do you > "undeclare" a variable? Can you? I mean, how else would the variable > only be good for that block?
The subroutine *is* a block, so that variable is only available in that block. Put the declaration inside the "then" clause of an "if/ then" statement, and the variable is only available during the execution of the "then" clause. -- Glenn L. Austin <>< Computer Wizard and Race Car Driver <[EMAIL PROTECTED]> <http://www.austin-home.com/glenn/> _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
