mirror of
https://github.com/yabwon/SAS_PACKAGES.git
synced 2025-12-11 03:04:35 +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.
|
||||
```
|
||||
%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;
|
||||
%put &i.) %ABC(&i.);
|
||||
%end;
|
||||
|
||||
%let %ABC(13,i) = 999; /* i = insert */
|
||||
|
||||
%do i = 1 %to 17;
|
||||
%put &i.) %ABC(&i.);
|
||||
%end;
|
||||
%do_over(ABC, phrase=%nrstr(
|
||||
%put &_i_.%) %ABC(&_i_.);
|
||||
),
|
||||
which = 1:H:2
|
||||
);
|
||||
```
|
||||
|
||||
- **BasePlus**\[0.62\] adds a bunch of functionalities I am missing in BASE SAS, such as:
|
||||
|
||||
Reference in New Issue
Block a user