|
![]() |
#1 |
NavAx
|
Действительно, хелп, оказывается, полезно читать
![]() EVALUATE Use this function to evaluate a string representation of a value into its normal representation. The system assigns the result to a variable. [Ok :=] EVALUATE(Variable, String) Ok Data type: boolean A return code which reflects whether an error occurred during the evaluation of the string. If Ok is... It means... TRUE No errors occurred during the evaluation of the string. The system assigned the value to Variable. FALSE Errors occurred during the evaluation of the string. The system did not modify the original value of Variable. If you omit this optional return value and an error occurs during the evaluation of the string, a run-time error occurs. If you include it, the system assumes you will handle any errors. Variable Data type: boolean, integer, option, date, time, text constant or code Any type of variable. The value of the string is assigned to the variable. String Data type: text constant or code A string containing a value of any simple C/AL data type. |
|