-
Notifications
You must be signed in to change notification settings - Fork 0
Control Structure
This is a check, it works exactly like an "if" control structure in other languages.
This feature let you compare if 2 values are the same.
The values to compare can be hard written or variable.
The next keyword, at the next line, will be executed if the condition is true.
Example: Assuming we have the variables:
- 'a' with a value of 10
- 'a' with a value of 10
CHECKUWU a b
...
This is a check, it works exactly like an "if" control structure in other languages.
This feature let you compare if 2 values are NOT the same.
The values to compare can be hard written or variable.
The next keyword, at the next line, will be executed if the condition is true.
Example: Assuming we have the variables:
- 'a' with a value of 10
- 'a' with a value of 20
CHECKOWO a b
...
This is a while, it works exactly like a "while" control structure in other languages.
This feature let you compare if 2 values are NOT the same, if it's true it will stop the loop, however, it will continue.
The values to compare can be hard written or variable.
The next keyword, at the next line, will be executed if the condition is false.
Example: Assuming we have the variables:
- 'a' with a value of 10
- 'a' with a value of 20
WHILEUWU a b
...