Control Structures

ordinal

Supported By

Syntax

ordinal ordinalName = index

Index yields an integer.

Description

The ordinal statement creates a new user-defined ordinal with the specified name and index.

Note

Attempting to create a new user-defined ordinal with the name of an existing ordinal (including ordinals previously defined with ordinal) has no effect. No script error is triggered, and the ordinal maintains its previously defined index. This may change in a future version of OpenXION.

See Also

const