GetTypeName (open)

Returns the name of a type

Syntax

// Core function, no LOADLIB necessary

STRING FUNCTION GetTypeName(INTEGER type)

Parameters

INTEGER type

TypeID of the type to return the name for

Return value

STRING

The name of the type

Description

This function returns the name of the type, identified by the type id.

Examples

//Prints "STRING ARRAY"
PRINT(GetTypeName(TypeID(DEFAULT STRING ARRAY)));