Question: Scope of local variables

OuterProc := proc () local i, j; InnerProc := proc () i := 15 end proc; i := 0; InnerProc(); i end proc; The following proceedure returns 15, just as I want it to. However, compliation generates a warning saying that the variable i is implicitly local in Innerproc, which it is not. Is there any way to turn off this warning without turning off legitimate warnings about implicit declarations of local variables?
Please Wait...