mirror of
https://github.com/SASPAC/macroarray.git
synced 2026-03-10 00:48:12 +00:00
The macroArray package, version: 1.3.2 Package regenerated with the SAS Packages Framework, version 20260216. No functional changes, aesthetic documentation clean up. - File SHA256: `F*35A657517CD2B1AB86C4E7C5320B5EDDDFBA9348075AE31DDAF875CF0CC193C9` for this version - Content SHA256: `C*DE477F4E280D438B364320F324C88DA3D336F102BA37810C60BDE15398DE84E9` for this version
31 lines
811 B
Markdown
31 lines
811 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`: F*35A657517CD2B1AB86C4E7C5320B5EDDDFBA9348075AE31DDAF875CF0CC193C9
|
|
|
|
[**Documentation for macroArray**](./macroarray.md "Documentation for macroArray")
|
|
|
|
To work with a package use the [**SAS Packages Framework**](https://github.com/yabwon/SAS_PACKAGES/blob/main/README.md "SPFinit").
|
|
|