Skip to content

Commit 20b3729

Browse files
authored
Update README.md
1 parent 699ba5e commit 20b3729

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,11 @@ Example for the command println:
4949
- This command expects strings without limitation in number: _println [STRING] [CONTINUE]_ and returns $null, that means nothing.
5050
> println "Hello World" "And another line";
5151
52-
Command names can also be shifted, like the _[string] + [string]_ command to make the code more readable:
53-
> 1 + 1;
54-
52+
Command names can also be shifted, like the _[string] + [string]_ command to make the code more readable.
53+
So, instead of writing + 1 1 ('+' or 'add' being the command here) we can shift the command one section to the right:
54+
> 1 + 1; <- Better to read and write!
55+
56+
This command returns the sum of its two arguments.
5557
But this command alone does not do very much. How do you use the new, returned value?
5658
Look at this example:
5759
> println (1 + 1);
@@ -62,7 +64,7 @@ This is the same as:
6264
Commands can be combined with others with parantheses.
6365
> println (1 + (4 / 2));
6466
65-
Note that if you want to use $null as a returned value, the program will throw an error, because $null is not accepted as argument,<br>
67+
Note that if you want to use $null as a returned value, the program will throw an error, because $null is not interpreted as argument,<br>
6668
so the interpreter thinks this command has not arguments: use [STRING] != use
6769
> use (println "null?!")<br>Error at [println "null?!"] No such command use.
6870

0 commit comments

Comments
 (0)