Straightforward Coding (from Fraktal SAS Programming): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K |
K |
||
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 2: | Zeile 2: | ||
{{SeitenNavigation1 | {{SeitenNavigation1 | ||
|links=xx_left.png | |links=xx_left.png | ||
− | |zurück= | + | |zurück=Fully Qualified Coding (from Fraktal SAS Programming) |
|rechts=xx_right.png | |rechts=xx_right.png | ||
|vorwärts=Generalized Approach (from Fraktal SAS Programming) | |vorwärts=Generalized Approach (from Fraktal SAS Programming) | ||
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; | ||
{{SeitenNavigation1 | {{SeitenNavigation1 | ||
|links=xx_left.png | |links=xx_left.png | ||
− | |zurück= | + | |zurück=Fully Qualified Coding (from Fraktal SAS Programming) |
|rechts=xx_right.png | |rechts=xx_right.png | ||
|vorwärts=Generalized Approach (from Fraktal SAS Programming) | |vorwärts=Generalized Approach (from Fraktal SAS Programming) |
Aktuelle Version vom 15. Mai 2014, 19:17 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;