What does “DOU” mean?
In reference to RPG, DOU means (Do Until).This will execute a loop matched with an End or End do
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
The result is that the loop will not execute and the value of X will be 1.