Subject | procedures inside procedures? |
---|---|
Author | Marco Menardi |
Post date | 2002-11-21T19:05:19Z |
FB 1.0
Is it possible to have procedures "local" to a procedure, one inside
the other (like in Delphi)?
i.e. something like
create procedure CLOSE_BUDGET
procedure GET_MAX_VALUE
as
begin
...
end
as
begin
...
execute procedure GET_MAX_VALUE;
...
end
I've a procedure where the same code is repeated 4 times in different
places/conditions, and I would like not to create a "database wide"
procedure since this code is used ONLY in this procedure, will be
never used outside in a general manner.
thanks
Marco Menardi
Is it possible to have procedures "local" to a procedure, one inside
the other (like in Delphi)?
i.e. something like
create procedure CLOSE_BUDGET
procedure GET_MAX_VALUE
as
begin
...
end
as
begin
...
execute procedure GET_MAX_VALUE;
...
end
I've a procedure where the same code is repeated 4 times in different
places/conditions, and I would like not to create a "database wide"
procedure since this code is used ONLY in this procedure, will be
never used outside in a general manner.
thanks
Marco Menardi