Declaring variables in a procedure?
- Posted by dstanger at belco.bc.ca
Aug 19, 2001
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
If I only try to declare one type in the procedure, such as just integer, it
works fine, but if I try to declare more than one I get an error. The
reference manual doesn't say anything that I can see regarding declaring
inside procedures only that there is "a fixed number of named parameters"
but I took that to mean that there is a limit to how many parameters can be
passed to a procudure.
Any one have any enlightenment for me?
thank you,
DAvid S.
|
Not Categorized, Please Help
|
|