omron — TRUE real-valued function

TRUE real-valued function TRUE real-valued function Syntax ... TRUE Function Return the value used by eV+ to represent a logical true result. Usage Considerations The word "true" cannot be used as a program name or variable name. Details This named constant is useful for situations where true and false conditions need to be specified. The value returned is –1. Example The following program loop executes continuously until the subroutine process returns a TRUE value for the real variable error: DO CALL process(error) UNTIL error == TRUE The program loop below will execute indefinitely:

WHILE TRUE DO CALL move.part() END Related Keywords FALSE real-valued function ON real-valued function eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 548