RETURN |
DEVELOPER |
Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Events and Logic > RETURN
|
|
Purpose |
RETURN is the last statement executed in a called step, and the last statement in an Alpha or Numeric Global Logic routine. |
Syntax |
RETURN |
Operation |
value is the value to be returned to the Local Logic or Special Check routine which called the Global Logic. This must be of the same type as the Global Logic. |
Remarks |
RETURN is processed only if it is issued in a called step or Global Logic routine. |
Example |
Called Step Example |
The practice of omitting a RETURN (as in step 2) is not recommended, since the code is less readable than when a RETURN is specified. |
Topic ID: 520105