| |
|
|
Michael Wodrich | Repeat ... ' Profan-instructions Until P:X1
since XProfan 9 there too The fussgesteuerte Loop:
Repeat < Befehle> Until < Bedingung>
The command between Repeat and Until go such a long time carryed out, To The circumstance erfüllt is.
The Loop becomes in each drop at least once go through, since the circumstance behind the Until naturally first with achieve the row with the Until screen becomes.
The Systemvariable &LINKS:[Loop] is in a Repeat-Loop undefiniert.
LINK:[Break] and LINK:[Continue] wirken How dwelt: Break breaks The Loop and jumping to row behind the Until. One Continue jumping immediate into row to the Repeat, what though moreover lead, that The Until-row never access and is The Loop unending runs, as they not Break violently terminates.
deference: Break/Continue are in the senses of/ one strukturierten Programming very (!) economical To use. into most Make can the same Result through sinnvollere Schleifenbedingungen or If ... EndIf - structure access go. WICHTIG: If the Abbruchbedingung never erfüllt becomes, runs The Loop unending!
|
|
|
| Programmieren, das spannendste Detektivspiel der Welt. | 07/31/05 ▲ |
|
|
|