Straightforward Coding (from Fraktal SAS Programming): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K |
K |
||
Zeile 11: | Zeile 11: | ||
As we remember from the '''''run group'' segment type''' example, code segments are verbatim encapsulated by an initializing statement that is accompanied by a corresponding termination statement. '''MACRO definitions''' are defined by using these two specific statements: | As we remember from the '''''run group'' segment type''' example, code segments are verbatim encapsulated by an initializing statement that is accompanied by a corresponding termination statement. '''MACRO definitions''' are defined by using these two specific statements: | ||
+ | /* | ||
+ | Definition | ||
+ | */ | ||
%MACRO name; | %MACRO name; | ||
program code | program code | ||
%MEND name; | %MEND name; | ||
+ | /* | ||
+ | Invocation | ||
+ | */ | ||
%NAME; | %NAME; | ||
Version vom 14. Mai 2014, 18:08 Uhr
As we remember from the run group segment type example, code segments are verbatim encapsulated by an initializing statement that is accompanied by a corresponding termination statement. MACRO definitions are defined by using these two specific statements:
/* Definition */ %MACRO name; program code %MEND name;
/* Invocation */ %NAME;