| View previous topic :: View next topic |
| Author |
Message |
beardboy
Joined: 02 Mar 2004 Posts: 444 Location: SLC, Utah
|
Posted: Sat Mar 13, 2004 6:35 am Post subject: While Command |
|
|
Have you thought of adding a WHILE command?
thanks,
beardboy |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10464
|
Posted: Sat Mar 13, 2004 1:35 pm Post subject: |
|
|
I have, but I wanted to keep the syntax simple. A While-loop would be equivalent to a Loop whose first line is an IF-statement, such as this:
| Code: | Loop
{
if finished = Y
break
....
} |
Similarly, a do...while construct would be the same as the above except with the check condition at the bottom of the loop.
Maybe this is something I should add to the documentation. |
|
| Back to top |
|
 |
beardboy
Joined: 02 Mar 2004 Posts: 444 Location: SLC, Utah
|
Posted: Sat Mar 13, 2004 5:14 pm Post subject: |
|
|
What is really stupid is I have multiple places in my code that I have done that.
thanks,
beardboy |
|
| Back to top |
|
 |
|