PACKAGE
The PACKAGE function converts a group or item object to a text item, including its initiator, terminator, and any delimiters it contains.
- Syntax:
- PACKAGE (single-object-expression)
- Meaning:
- PACKAGE (object_to_convert)
- Returns:
- A single text item
The PACKAGE function converts object_to_convert, which must be a type reference to a text item, including the type reference's initiator, terminator, and all delimiters. PACKAGE differs from TEXT in that it includes the initiator and terminator of the specified type reference.
Examples
- PACKAGE (Record:Card)
Returns: #1339X10A,491.38,Green,42x54@
For this example, the group Record has an initiator of "#", a terminator of "@" and a delimiter of ",". The data looks like this: "#1339X10A,491.38,Green,42x54@".
Related functions
- DATETOTEXT
- NUMBERTOTEXT
- SERIESTOTEXT
- TIMETOTEXT
- TEXT
PACKAGE differs from TEXT because it includes the initiator and terminator of the input object.