"not" instruction

This commit is contained in:
2025-08-21 11:05:32 +10:00
parent 14758df1ab
commit 50d83aa228
2 changed files with 43 additions and 2 deletions

View File

@@ -50,6 +50,12 @@ Reference a list (a list reference) with an asterisk:
setlist *myList $value1 $value2 # and so on
```
Add comments with a `#`:
```
# This is a comment
```
## Keywords
Note: &var can be replaced with any direct reference. $value can be replaced with a literal value or a value reference. %1 can be replaced with a line reference.
@@ -188,6 +194,12 @@ Checks if two values are not equal. Outputs a boolean to a direct reference.
Usage: `inequal $value $value &var`
#### not
Negates a boolean.
Usage: `not $value &var`
#### greater
Checks if the left value is greater than the right value. Outputs a boolean to a direct reference.
@@ -276,4 +288,4 @@ Attempts to import a shared object library written for Ground. All functions in
Note: Ground will check the directory where the program is stored when trying to find external programs. If that fails, it will check the directory set in the $GROUND_PATH environment variable set by your system. The '.so', '.dll', etc extension is appended automatically.
Usage: `extern $stringvalue`
Usage: `extern $stringvalue`