Current Page:
NeXtMidas Training
Macros - Part 1 (Basics)
Procedures and Subroutines
SUBROUTINE
|
|
- Writing a
SUBROUTINE :
SUBROUTINES are extremely similar to PROCEDURES
except that results declared in a SUBROUTINE are not
visible to the main macro, as they are in PROCEDURES .
The main macro results are still visible in the SUBROUTINE .
- Note:
SUBROUTINES and PROCEDURES
share the same namespace (i.e. You can't have both a procedure named
DOSTUFF and a subroutine named DOSTUFF ).
|
|
|