| SmapTypeStrings | Function (ROM Call 0x436)

AMS 2.00 or higher | vat.h

const char *SmapTypeStrings (short type);

Returns the 3-4 character description of a variable type.

SmapTypeStrings returns a string of three characters for the variable type represented by type. Valid values for type are defined in the enum SystemDataTypes; you can use GetDataType to convert a tag to such a type value.
`NULL` is returned if type is incorrect.
The value returned is the string displayed in the VAR-LINK dialog. This string is localized for the current language and can be up to four characters long. Note that files of type SDT_OTH will return a pointer to the string "OTH", and not to the true extension of the file.

Uses: strlen, XR_stringPtr
Used by: push_gettype, handleVarLinkKey

See also: GetDataType, handleVarLinkKey