Print strings
This commit is contained in:
@@ -8,4 +8,12 @@ Create a boolean: `bool name value`
|
||||
|
||||
Create an integer: `int name value`
|
||||
|
||||
**Note**: A string of dynamic length can be created by setting the bytes to -1.
|
||||
**Note**: A string of dynamic length can be created by setting the bytes to -1.
|
||||
|
||||
Print a string: `print name`
|
||||
|
||||
Example program (prints "Hello, World"):
|
||||
```cpp
|
||||
string var 13 "Hello, world!"
|
||||
print var
|
||||
```
|
||||
Reference in New Issue
Block a user