Macro rXDIR (from Fraktal SAS Programming): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K |
K |
||
Zeile 75: | Zeile 75: | ||
| | | | ||
<font face="Courier New"> | <font face="Courier New"> | ||
− | + | :%IF %LENGTH(&XPATH.) = 0 %THEN %GOTO leave; | |
</font> | </font> | ||
| | | |
Version vom 3. September 2014, 15:47 Uhr
What it does
This SAS Macro provides the function from XDIR in an interactive mode.
- The recursive use of macro invocation keeps the macro "alive" until no further user input is made.
- It might be of some interest to the novice user, how easy it is, to turn a simple "home-grew" function into an interactive tool.
Code executed | Function performed |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
END macro definition with name |