helpmehelpmehelpme Posted December 12, 2011 Share Posted December 12, 2011 If you had a function that calculated the average of a fixed quantity of numbers, what type of scope issues would you anticipate? Quote Link to comment Share on other sites More sharing options...
SergeiSS Posted December 12, 2011 Share Posted December 12, 2011 English is not my native language, sorry... And it could be that others understand you. But could you explain you question more detail for me? Quote Link to comment Share on other sites More sharing options...
Psycho Posted December 12, 2011 Share Posted December 12, 2011 Yeah, your question is way to generalized to really provide a response. I interpret "Scope" as referring to "variable scope" which, if you built your function correctly, should not be an issues at all. But, since you didn't provide any code there is no way to say. The only reason scope would be an issue is if you were relying upon the use of global in order to reference variables. And, THAT, would be the wrong way to do it. Quote Link to comment Share on other sites More sharing options...
ManiacDan Posted December 12, 2011 Share Posted December 12, 2011 Definitely need more information than that. If you really do mean variable scope, then the answer is "non, I'd write the function properly." Quote Link to comment Share on other sites More sharing options...
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.