*STRICTMATH (GETMODE)
PLBCMP Only
*STRICTMATH={value}
The *STRICTMATH list control reports the runtime behavior during DIVIDE instructions.
{value} is a previously defined Numeric Variable that receives the state.
When this keyword returns a non-zero value, the runtime executes divide operations in a strict math mode. When the strict math mode is being used, a U60 error is generated when a divide by zero operation is executed in a PLB program. The strict math mode eliminates situations where unpredictable or unexpected results can occur because of bad data or PLB logic.
See Also: List Controls (GETMODE), GETMODE
![]() |