Stupid Javascript question

Lance F. Squire lance-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
Mon Feb 14 15:45:12 UTC 2005


Jim Skehill wrote:
> Our you sure you have that right? 
> 
> I note that you change the variable name from a to A, but, in javascript,
> variable names are case-sensitive so this will generate an error. 
> 

My bad, should have read:

> A=2;
> 
> A*A=4 but A+A=22
> 

Still worked that way though.

(A*1)+(A*1) fixed.

Thanks,

Lance
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list