GetParType()

Get the type of the parameter from the data base.

Usage

type = GetParType( par, path = None )

Parameters

par (string)
Parameter name.
path (string)
Data base path of the node containing the parameter.

Return Value

type Type((integer), (string),...)
The parameter type.

Errors

  • The parameter in the data base must be of a valid type.
  • The parameter must exist in the data base.

Description

This routine returns type of the parameter from the data base. The parameter address is given by its node path and the par name. Return type can be integer, string, enumeration, list, bool, ref, refs, array, real, tab, and so on. For example,
parType = GetParType( par, node )