In this structure, the <commands1> clause will always execute. If the result of the last command of the set completes without error (result = zero), then the <commands2> clause will be executed. Control will then return to the <commands1> clause, and the process will continue until the last command of this set produces an error (result <> 0).
Flow of control statements are available in nShell-Pro(tm)