BuiltIn.GetOrd Method

Applies to TestComplete 15.69, last modified on November 13, 2024

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.

This method is available if the BuiltIn plugin is installed and enabled. The plugin is installed and enabled by default.

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