BasicX Port - Module Level Variables
Posted: 26 June 2011, 20:33 PM
Hey Don,
I've found a BasicX port of the AtomPro code I've been trying to port to Zbasic. . .and it would seem that porting from BasicX is MUCH easier! So I'm porting the port, so to speak. Anyways, it's been pretty easy with one exception.
I'm getting a lot of warnings from the Zbasic IDE:
"BasicX Code.bas:752: Warning(5): parameter "GaitLegNr" hides module-level variable"
I'm not entirely sure what that means, but suspect it's because there is a global variable name that is also used while defining the subroutine, making the two collide somehow?
Do I need to assure strict segregation between the two? I've attached the code in case it helps illustrate the issue. The errors are quite obvious upon compilation!
-Jeff
I've found a BasicX port of the AtomPro code I've been trying to port to Zbasic. . .and it would seem that porting from BasicX is MUCH easier! So I'm porting the port, so to speak. Anyways, it's been pretty easy with one exception.
I'm getting a lot of warnings from the Zbasic IDE:
"BasicX Code.bas:752: Warning(5): parameter "GaitLegNr" hides module-level variable"
I'm not entirely sure what that means, but suspect it's because there is a global variable name that is also used while defining the subroutine, making the two collide somehow?
Do I need to assure strict segregation between the two? I've attached the code in case it helps illustrate the issue. The errors are quite obvious upon compilation!
-Jeff