Macro | Package: excl | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## compose-octet-array

Arguments: &rest parts

This macro implements a convenient notation for representing a vector of octets in a source file. The value of the macro call is a vector of type `(array * (unsigned-byte 8))` initialized to all the octets specified in the arguments with the forms:

- string: The character code of each character in the string specifies one octet in the result vector.
- A character: The character code specifies the octet.
- An integer: The number specifies the octet.
- :[: The arguments following this argument up to an occurrence of :] are converted to hexadecimal numbers that specify each octet.
- A symbol: The symbol is treated as the name of a character that specifies the octet.
- :eval: The following argument is evaluated at run time. The value must be a sequence of values allowed as arguments to compose-octet-array-fn.

Each octet value must be in the octet value range. If not an error is signaled.

If there are no occurrences of the `:eval` argument, the result emitted by the macro is a constant vector. If the `:eval` argument is used, the macro emits a call to the compose-octet-array-fn function.

See iacl.htm for more information on international characters and external formats.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version