mirror of
https://github.com/SASPAC/macroarray.git
synced 2026-01-11 15:00:04 +00:00
macroArray [1.0.2] Package regenerated with the latest version of the SAS Packages Framework.
31 lines
679 B
Markdown
31 lines
679 B
Markdown
### `macroArray` - Macroarrays for macro codes
|
|
|
|
---
|
|
|
|
The **macroArray** package implements an array, a hash table, and a dictionary concept in macrolanguage. For example:
|
|
```sas
|
|
%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_over(ABC, phrase=%nrstr(
|
|
%put &_i_.%) %ABC(&_i_.);
|
|
),
|
|
which = 1:H:2
|
|
);
|
|
```
|
|
|
|
SHA256 digest for the latest version of `macroArray`: DA57FFE85F49201FD61A53411D19E97FB5A6AC3C34E34FDF4B913545699551FF
|
|
|
|
[**Documentation for macroArray**](./macroarray.md "Documentation for macroArray")
|
|
|
|
|
|
|