[DUG] Coding accross languages

Paul Roper Paul.Roper at nmit.ac.nz
Mon Jul 31 14:52:01 NZST 2006


Todd wrote:
One thing I found out about JavaScript is, if you write recursive
methods, 
you have to declare local variables using var. Otherwise, the local 
variables are static, which produces some very confusing results.


No!, they are GLOBAL!

Paul
CAUTION: This e-mail message and accompanying data may contain information that is confidential and 
subject to privilege. If you are not the intended recipient, you are notified that any use, dissemination, 
distribution or copying of this message or data is prohibited. If you have received this e-mail in error, 
please notify me immediately by return e-mail and delete all material you have incorrectly received. 
Nelson Marlborough Institute of Technology does not accept any liability for the individual opinions of 
staff members expressed within this e-mail message. Thank you.



More information about the Delphi mailing list