Straightforward Coding (from Fraktal SAS Programming): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K |
K |
||
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
+ | [[Kategorie:zazy]] | ||
+ | {{SeitenNavigation1 | ||
+ | |links=xx_left.png | ||
+ | |zurück=Fully Qualified Coding (from Fraktal SAS Programming) | ||
+ | |rechts=xx_right.png | ||
+ | |vorwärts=Generalized Approach (from Fraktal SAS Programming) | ||
+ | |hoch=Duck_zazy_com.png | ||
+ | |übersicht=Macro (from Fraktal SAS Programming) | ||
+ | }} | ||
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 | ||
+ | |links=xx_left.png | ||
+ | |zurück=Fully Qualified Coding (from Fraktal SAS Programming) | ||
+ | |rechts=xx_right.png | ||
+ | |vorwärts=Generalized Approach (from Fraktal SAS Programming) | ||
+ | |hoch=Duck_zazy_com.png | ||
+ | |übersicht=Macro (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;