mirror of
https://github.com/yabwon/SAS_PACKAGES.git
synced 2026-01-03 13:20:05 +00:00
macroArray, version 0.4
This commit is contained in:
23
README.md
23
README.md
@@ -76,16 +76,21 @@ run;
|
|||||||
- **macroArray**\[0.4\], implementation of an array concept in a macrolanguage, e.g.
|
- **macroArray**\[0.4\], implementation of an array concept in a macrolanguage, e.g.
|
||||||
```
|
```
|
||||||
%array(ABC[17] (111:127), macarray=Y);
|
%array(ABC[17] (111:127), macarray=Y);
|
||||||
|
|
||||||
|
%macro test();
|
||||||
|
%do i = 1 %to 17;
|
||||||
|
%put &i.) %ABC(&i.);
|
||||||
|
%end;
|
||||||
|
%mend;
|
||||||
|
%test()
|
||||||
|
|
||||||
|
%let %ABC(13,i) = 99999; /* i = insert */
|
||||||
|
|
||||||
%do i = 1 %to 17;
|
%do_over(ABC, phrase=%nrstr(
|
||||||
%put &i.) %ABC(&i.);
|
%put &_i_.%) %ABC(&_i_.);
|
||||||
%end;
|
),
|
||||||
|
which = 1:H:2
|
||||||
%let %ABC(13,i) = 999; /* i = insert */
|
);
|
||||||
|
|
||||||
%do i = 1 %to 17;
|
|
||||||
%put &i.) %ABC(&i.);
|
|
||||||
%end;
|
|
||||||
```
|
```
|
||||||
|
|
||||||
- **BasePlus**\[0.62\] adds a bunch of functionalities I am missing in BASE SAS, such as:
|
- **BasePlus**\[0.62\] adds a bunch of functionalities I am missing in BASE SAS, such as:
|
||||||
|
|||||||
Reference in New Issue
Block a user