Re: Declaring variables in a procedure?
- Posted by Irv Mullins <irvm at ellijay.com> Aug 19, 2001
- 378 views
On Sunday 19 August 2001 13:40, dstanger at belco.bc.ca wrote: > > Good Morning, > > I am trying to declare variables inside a procedure like so: > > procedure whatever() > > integer x, y, z > x = 1 > y = 2 > z = 3 > > sequence other_stuff > other_stuff = {} > > ....bunch of code.... > > end procedure Just make all the declarations before you execute any code: procedure foo() integer x,y,z sequence stuff x = 1 y = 2 z = 3 s = "Stuff" ..... end procedure Regards, Irv