ecl-logo Documentation

LookupTypeDefinition

LookupTypeDefinition[type]out

returns the full type definition for the type.

LookupTypeDefinition[type,field]out

returns the definition for field of the type.

LookupTypeDefinition[type,field,component]out

returns the component of the definition for field of the type.

Details

  • When specified, the 'field' and 'component' can both be lists.
  • Input
    Output
    Messages
  • NoFieldComponentDefErrorType `1`, Field `2` has no component named `3` defined.
    NoFieldDefErrorType `1` has no Field name `2` defined.

Examples

Basic Examples  (3)

Look up a type:

Look up a field from a type:

Look up an attribute from a field:

Messages  (2)

NoFieldComponentDefError  (1)

Provides a message if asked for a field attribute that does not exist:

NoFieldDefError  (1)

Provides a message when asked for a nonexistant field: