Question: local variables = ALL

I want to find a way that which results in that all variables in a procedure becomes local

ie  X:=proc() local All

I find it tedious having to specify all the local variables individually 

ie  X:=proc() local A,B,C,w,e,r,t,y,u,ui,io,w,,u,i,o.....eternity

Please Wait...