Declaring variables in a procedure?

new topic     » topic index » view thread      » older message » newer message

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.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu