2 Commits
1.2.0 ... 1.2.3

Author SHA1 Message Date
Bart Jablonski
8c6b5e4b25 The macroArray package [ver. 1.2.3]
## The macroArray package [ver. 1.2.3]

- Update in `q=` parameter for the `%array()` macro.
- Fix in data set existence for `ds=` parameter in the `%array()` macro.
- Documentation updated.

---

SHA256 digests for packages:

- macroArray: `F*A0840B92EB9356EDB318DBE9B579A345C85ABF69E8D5F7C73C144C66F2F74FB4`
2023-11-23 21:51:14 +01:00
Bart Jablonski
58e665069f macroArray package [ver. 1.2.1]
macroArray package [ver. 1.2.1]

- Package regenerated with the latest version of SPF
2023-11-11 17:29:44 +01:00
7 changed files with 4583 additions and 11 deletions

View File

@@ -22,7 +22,7 @@ The **macroArray** package implements an array, a hash table, and a dictionary c
);
```
SHA256 digest for the latest version of `macroArray`: F*8689194590698F9A00B57FB37BE3CA8D7330F16B3E591CEAF49E6BE0B70D61D0
SHA256 digest for the latest version of `macroArray`: F*A0840B92EB9356EDB318DBE9B579A345C85ABF69E8D5F7C73C144C66F2F74FB4
[**Documentation for macroArray**](./macroarray.md "Documentation for macroArray")

2285
hist/1.2.1/macroarray.md Normal file

File diff suppressed because it is too large Load Diff

BIN
hist/1.2.1/macroarray.zip Normal file

Binary file not shown.

2286
hist/1.2.3/macroarray.md Normal file

File diff suppressed because it is too large Load Diff

BIN
hist/1.2.3/macroarray.zip Normal file

Binary file not shown.

View File

@@ -19,9 +19,9 @@
---
# The macroArray package [ver. 1.2.0] <a name="macroarray-package"></a> ###############################################
# The macroArray package [ver. 1.2.3] <a name="macroarray-package"></a> ###############################################
The **macroArray** package implements a macro array facility:
The **macroArray** package implements a macroarray facility:
- `%array()`,
- `%do_over()`,
- `%make_do_over()`,
@@ -75,10 +75,10 @@ Package contains:
Required SAS Components:
*Base SAS Software*
*SAS package generated by generatePackage, version 20231107*
*SAS package generated by generatePackage, version 20231123*
The SHA256 hash digest for package macroArray:
`F*8689194590698F9A00B57FB37BE3CA8D7330F16B3E591CEAF49E6BE0B70D61D0`
`F*A0840B92EB9356EDB318DBE9B579A345C85ABF69E8D5F7C73C144C66F2F74FB4`
---
# Content description ############################################################################################
@@ -244,7 +244,7 @@ The code of a macro was inspired by
The `%array()` macro version provided in the package
is designed to facilitate
the idea of macro array concept, i.e. *a list of
the idea of macroarray concept, i.e. *a list of
macrovariables with common prefix and numerical suffixes*.
Usually such construction is then resolved by
double ampersand syntax, e.g. `&&perfix&i` or similar one.
@@ -253,7 +253,7 @@ What is new/extension to the `%array()` macro concept are:
0. The syntax is closer to the data step one.
1. It is a pure macro code (it can be executed in any place
of 4GL code), this includes generating macro arrays out
of 4GL code), this includes generating macroarrays out
of datasets.
2. When a macroarrray is created it allows also to generate
a new macro (named the same as the array name) and replace
@@ -346,8 +346,9 @@ The basic syntax is the following, the `<...>` means optional parameters:
3) macroarray "W" with UNIQUE(|) values of variable "weight" and <br>
4) macroarray "AGE" with UNIQUE(|) values of variable "age".
* `q=` - *Optional*, indicates (when set to `1`) if the value be surrounded by quotes.
* `q=` - *Optional*, indicates (when set to `1` or '2') if the value should be surrounded by quotes.
It uses `quote(cats(...))` combo under the hood. Default value is `0`.
Value `1` is for apostrophes, value `2` is for double quotes.
Ignored for `macarray=M`.
@@ -1867,7 +1868,7 @@ footnote;
The zipArrays() and QzipArrays() macros
allow to use a function on elements of pair of
macro arrays.
macroarrays.
For two macroarrays the corresponding
elements are taken and the macro applies a function, provided by user,
@@ -1978,7 +1979,7 @@ See examples in `%zipArrays()` help for the details.
The zipArrays() and QzipArrays() macros
allow to use a function on elements of pair of
macro arrays.
macroarrays.
For two macroarrays the corresponding
elements are taken and the macro applies a function, provided by user,
@@ -2177,7 +2178,7 @@ The basic syntax is the following, the `<...>` means optional parameters:
## >>> `%sortMacroArray()` macro: <<< <a name="sortmacroarray-macro"></a> #######################
The sortMacroArray() macro
allow to sort elements of a macro array.
allow to sort elements of a macroarray.
The **limitation** is that sorted values are limited to 32767 bytes of length.

Binary file not shown.