Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
10xJSChad authored Sep 12, 2021
1 parent 5b94481 commit bff8c59
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ var exampleFloatVariable = 5.5
var exampleStringVariable = Hello World!
```

**mov *variable* *'variable/value'*** <br>
**set *variable* *'variable/value'*** <br>
```
mov exampleIntVariable 50 //Sets the value of exampleIntVariable to 50
mov exampleIntVariable exampleFloatVariable //Sets the value of exampleIntVariable to the value of exampleFloatVariable
set exampleIntVariable 50 //Sets the value of exampleIntVariable to 50
set exampleIntVariable exampleFloatVariable //Sets the value of exampleIntVariable to the value of exampleFloatVariable
```

**add *variable* *'variable/value'*** <br>
Expand Down Expand Up @@ -108,8 +108,8 @@ rnd exampleIntVariable 0 500 //Sets the value of exampleIntVariable to a random
*Supported operators:* ==, >=, <=, >, <, !=
```
if x == 255 //Checks if x is equal to 255
mov y x //Sets the value of y to the value of x (255)
mov x 0 //Sets x to 0
set y x //Sets the value of y to the value of x (255)
set x 0 //Sets x to 0
end if //Ends the if statement
```
**func**, **end func**, and **call** //Starts, ends, and calls a function <br>
Expand Down

0 comments on commit bff8c59

Please sign in to comment.