Was this helpful?
Flow-Control Statements
Flow-control statements control the processing flow in a frame or application by allowing you to establish conditions for performing specific statements.
In a sequential execution, 4GL performs the same sequence of actions every time the user selects a particular operation. In most applications, however, the data the user enters determines the actions to be performed. The actions taken are conditional with respect to the data, and are performed through flow-control statements. You can use comparison operators and arithmetic operators to describe a condition, then instruct Ingres to execute groups of flow-control statements if the condition is met.
These statements include:
if-then (elseif, else, and endif)
while (do and endwhile)
endloop
return
exit
Last modified date: 01/30/2023