Returns the ordinal member name as a string of non-varying characters related to the value of ordinal x.
ORDINALNAME(x)
ORDINALNAME enables you to get the member name of an ordinal value that is or can be displayed, which might be useful when debugging.
Using the ORDINAL definitions from the examples in the DEFINE ORDINAL topic:
course = Geometry; put skip list (ORDINALNAME(course)); /* GEOMETRY */ put skip list (BINARYVALUE(course)); /* 102 */ put skip list (BINARYVALUE(ORDINALPRED(course))); /* 101 */ put skip list (BINARYVALUE(ORDINALSUCC(course))); /* 301 */
ORDINALs are not supported in computational expressions, nor can they be converted to character.