You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/do.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ LOOP: REM This loop repeats forever.
16
16
17
17
This form **loops forever**. It's better to use this form instead of using **STEP** 0 in a **FOR** loop, or a **WHILE** 1 condition loop. The generated code is more efficient.
18
18
19
-
###Looping UNTIL
19
+
###Looping UNTIL
20
20
21
21
```
22
22
DO
@@ -38,7 +38,7 @@ LOOP
38
38
39
39
In this case, the condition is checked first, and the program won't enter to the inner _sentences_ if the condition is not satisfied at first.
40
40
41
-
####Example using UNTIL
41
+
####Example using UNTIL
42
42
Example: _Loop until the user press a Key_
43
43
44
44
```
@@ -47,7 +47,7 @@ DO LOOP UNTIL INKEY$ <> ""
47
47
```
48
48
49
49
50
-
###Looping WHILE
50
+
###Looping WHILE
51
51
52
52
```
53
53
DO
@@ -70,7 +70,7 @@ LOOP
70
70
71
71
In this case, the condition is checked first, and the program won't enter to the inner _sentences_ if the condition is not satisfied at first.
72
72
73
-
####Example using WHILE
73
+
####Example using WHILE
74
74
Example: _Loop while there is no key pressed_
75
75
76
76
```
@@ -79,11 +79,11 @@ DO LOOP WHILE INKEY$ = ""
79
79
```
80
80
81
81
82
-
##Remarks
82
+
##Remarks
83
83
* This statement does not exist in Sinclair Basic.
84
84
***WHILE** can also be used with [WHILE ... END WHILE](while.md) loops.
0 commit comments