caspa Posted January 16, 2013 Posted January 16, 2013 if u have created 20 script and they all use this "for( set .@i,1; .@i <= 6; set .@i,.@i+1 )" <-- would that affect other script? i mean would they alter how the other script is supposed to work? Quote
nanakiwurtz Posted January 16, 2013 Posted January 16, 2013 ".@" - A scope variable.They are unique to the instance and scope. Each instance has it's own scope that ends when the script ends. Calling a function with callsub/callfunc starts a new scope, returning from the function ends it. When a scope ends, it's variables are converted to values ('return .@var;' returns a value, not a reference). Quote
Question
caspa
if u have created 20 script and they all use this "for( set .@i,1; .@i <= 6; set .@i,.@i+1 )" <-- would that affect other script? i mean would they alter how the other script is supposed to work?
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.