Return Statement Usage

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

I have two questions about the return statement.

1.   If I have a main program, and I call a global procedure within an
include file, do I need to put return at the end of the global procedure?=


2.  In the same set of procedures, in the global procedure, which is in t=
he
include file, I call a local procedure that is in the same include file. =

Do I need to put return at the end of the local procedure to continue wit=
h
the main procedur?

In general, under what circumstances should one use return at the end of =
a
procedure to keep the program from "wandering off"?

--Alan
 =

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

Search



Quick Links

User menu

Not signed in.

Misc Menu