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.

JSON native schema package

JSON schema fields with _V following the name and fields starting with oneOf, allOf and anyOf are the virtual fields.

Virtual JSON fields do not appear in the data and have no syntax. Syntax is controlled by real fields above these virtual fields.

Real fields are fields that appear in the JSON data.

Using a virtual field in a package command will give incomplete syntax. Use a real field either above or below the virtual fields for complete syntax.