Skip to content

Commit fadb08c

Browse files
committed
updated README.md
- added documentation for the commands `#WHILE` and `#ENDWHILE`.
1 parent 6f1b3b3 commit fadb08c

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,16 @@ scopes.
126126
- If this command was not closing a `#FOR` , then a `Compile` error will occur.
127127

128128

129+
- `#WHILE <Parameter>` this command keeps executing the instructions between it and its
130+
closing command until the parameter given to it evaluates to false.
131+
- If this command was not closed with an `#ENDWHILE`, then a `Compile` error will
132+
occur.
133+
134+
135+
- `#ENDWHILE` this command closes the `#WHILE` command.
136+
- If this command was not closing a `#WHILE` , then a `Compile` error will occur.
137+
138+
129139
- `#{ <Parameter> }#` this is called 'injection', and it injects the parameter given to it
130140
to the console. Different from commands, injections can be placed anywhere (but not
131141
clashing inside another injection or inside a command), and it does not suppress the

0 commit comments

Comments
 (0)