HYPERION Questions and Answers

What does “DOU” mean?

In reference to RPG, DOU means (Do Until).This will execute a loop matched with an End or End do
For instance
Eval X=1
DOU X=4
Eval X=X=1
EndDo
This example will go through the loop 4 times with the result of X being 4.
“DOU” is similar to Do While(“DOW”) where the difference lies in that the DOU will always perform 1 pass through the loop and DOW will perform the comparison and only continue into the loop if the condition meets else the program continues after the
End (EndDo).
For example
Eval X=1
DOW X=4
X=X+1
Enddo
The result is that the loop will not execute and the value of X will be 1.