BuiltIn.GetOrd Method

Applies to TestComplete 15.47, last modified on January 20, 2023

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