TestField.AsInteger() Method

Version: Available or changed with runtime version 1.0.

Converts the value of the field on a test page to an Integer data type.

Syntax

Result :=   TestField.AsInteger()

Parameters

TestField
 Type: TestField
An instance of the TestField data type.

Return Value

Result
 Type: Integer
The value of the field as an Integer.

TestField Data Type
Get Started with AL
Developing Extensions