PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: <?RestartLine>[Next]: <?RexxSkipTo>
\ -> Standard Definitions -> <?RexxSkip>

<?RexxSkip>

This symbol is used in conjunction with the "<?RexxSkipTo>" symbol to simplify the "skipping" of subroutines within a REXX header file.

A header file will frequently include some initialization code followed by some routines. The recommended place to include header files is at the start of your mainline code module. To be able to hold common procedures in the header file you must skip over them after you have performed any required initialization.

You could simply use a "signal EndRexxHeader" before the procedures and "EndRexxHeader:" after, however then you need to create a new label every time and it becomes difficult to include a header file more than once.

This is a Standard Definition which always exists (you don't need to #define it). Note that you can create your own variations or completely new ones (see the examples).

Example - EXAMPLE.XH

/*--- Initialization for "EXAMPLE.XH" ---*/
call InitStuff;
<?RexxSkip>

InitStuff:
   ...
   return;

MoreCode:
   ...
   return;

/*--- End of REXX header ---*/
<?RexxSkipTo>


email me  any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Search][Prev]: <?RestartLine>[Next]: <?RexxSkipTo>


PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Sunday November 05 2017 at 10:00am