Switch to: V9V8V7V6V5

VTypeEnum Class: Value Methods

VTypeEnum.Ident(index)

Declaration:

Ident( inIndex as Integer ) as String

Parameters:

  • inIndex - The index of a Ident in the enum, starts from 1.

Description:

Returns an Ident (i.e value) of ENUM type by the numeric index.

Example:

ValueOfEnum = db.Ident( i )

VTypeEnum.Ident(value)

Declaration:

Ident( inValue as String ) as integer

Parameters:

  • inName - The Name of a Ident.

Description:

Returns the numeric Index of the specified value.

Note: The parameter inValue is case insensitive.

Example:

MondayIndex = db.Ident( "Monday" )