BuiltIn.GetOrd Method

Applies to TestComplete 14.0, last modified on January 23, 2019

Description

If Value is not a string, the GetOrd method returns 0. Else, the method returns the byte value of the first character in Value. If Value is a Unicode string, GetOrd returns the lower byte of the first character.

Declaration

BuiltIn.GetOrd(Value)

Value [in]    Required    Variant    
Result Variant

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

Value

The variant value whose ordinal value you want to get.

Result Value

The ordinal value of the specified ordinal-type expression.

Highlight search results