Skip to content

Control Structure

AmayaHena edited this page Jul 31, 2020 · 2 revisions

CHECKUWU

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
...

CHECKOWO

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
...

WHILUWU

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
...
Clone this wiki locally