company logo

DictionaryHandle :: BaseType - Returns internal number for elementary types

The function returns the internal number for elementary types (STRING, CHAR, INT,...). If the type name (strnames) passed is not a supported basic type the function returns UNDEF.

Notes:

Should be called: IsBasicType

Return value:  Internal data type number ( int16  )

For user-defined data types (complex data types or enumerations) the internal type identification is a unique number within a schema (dictionary). For ODABA built-in data types the value is negative.

Implementation details

int32 DictionaryHandle  :: BaseType ( NString &strnames )
  • strnames - Type name