Consider the following program:
It doesn't compile... and I'm darned if I can't figure out why. Since bozoTheClown is defined as local within function foo, it really becomes global within the scope of foo. Therefore, my function bar, which is defined within the scope of foo, should see all of foo's variables.
Yet it doesn't.
Now, am I driving the language beyond what it has been designed to do, or is this a bug? There was some talk about Scope...End Scope a while back, but nothing in reference to this.
Any thought?
Regards,
Neil
Strict Function foo() Local bozoTheClown:Int Function bar() bozoTheClown=10 End Function End Function foo
It doesn't compile... and I'm darned if I can't figure out why. Since bozoTheClown is defined as local within function foo, it really becomes global within the scope of foo. Therefore, my function bar, which is defined within the scope of foo, should see all of foo's variables.
Yet it doesn't.
Now, am I driving the language beyond what it has been designed to do, or is this a bug? There was some talk about Scope...End Scope a while back, but nothing in reference to this.
Any thought?
Regards,
Neil