defining variables ??
- Posted by Bernie Ryan <bwryan at PCOM.NET> Aug 18, 1999
- 364 views
I have noticed that declaring a variables OUTSIDE of a procedure or function, I can do this: atom var1, var2 var1 = 1 var2 = 2 atom var3 var3 = 3 Declaring this same thing inside a procedure or function will cause an error because of the intermixing of variable names and assigning of the variables value procedure rout1( ) atom var1, var2 var1 = 1 var2 = 2 atom var3 var3 = 3 end procedure Why doesn't this work the same way inside a procedure ? Bernie