Evaluates a string representation of a value into its normal representation. The result is assigned to a variable.

[Ok :=] EVALUATE(Variable, String[, Number])

Parameters

Variable

Type: Boolean, integer, option, date, time, text constant, code, or GUID

Any type of variable. The value of the string is assigned to the variable

String

Type: Text constant or code

A string containing a value of any simple C/AL data type

Number

Type: Integer

This optional value can be used when exporting data with an XMLport. The only valid value is 9, which indicates that the data must be converted from XML format to C/SIDE format.

Expand imageProperty Value/Return Value

Expand imageExample

Expand imageSee Also