EVALOPT parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
<dd>1
<dd>1
<dt>Parameter type
<dt>Parameter type
<dd>System
<dd>User
<dt>Where set
<dt>Where set
<dd>Any user
<dd>Any user

Revision as of 22:36, 8 December 2021

Evaluation options

Summary

Default value
0
Maximum value
1
Parameter type
User
Where set
Any user
Introduced
V7.8

Description

Controls the cancellation of a request on truncation of string data. Currently there is just one setting, 1, which means "cancel a request if truncation of string data occurs."

For example, with the default of 0 in place, the following code

%x is string len 1 %y is string len 2 %y = 'ab' %x = %y printtext {~} = {%x}

would cause silent truncation, and give the result

%x = a

If EVALOPT is set to 1, then the above code produces the following message:

M204.0552: Variable too small for result

and the request is cancelled.