Merge pull request #2 from Ihre-Kaiserliche-Hoheit/main
Added examples for functions Hello World and Input
This commit is contained in:
commit
660294523e
1 changed files with 15 additions and 0 deletions
|
@ -29,6 +29,10 @@
|
||||||
&& $ means true
|
&& $ means true
|
||||||
&& € means false
|
&& € means false
|
||||||
|
|
||||||
|
&& == is implied in if conditions
|
||||||
|
|
||||||
|
&& = is equal to ===
|
||||||
|
|
||||||
&& if condition is true log the text
|
&& if condition is true log the text
|
||||||
¿??$/condition\ |
|
¿??$/condition\ |
|
||||||
¡<=/"condition was true"!
|
¡<=/"condition was true"!
|
||||||
|
@ -42,3 +46,14 @@
|
||||||
¿??$/condition\ |
|
¿??$/condition\ |
|
||||||
¡<=
|
¡<=
|
||||||
|
|
||||||
|
#sub /\ | (
|
||||||
|
&& This code prints hello world
|
||||||
|
¿??$? |
|
||||||
|
!<= "Hello World"!;
|
||||||
|
)
|
||||||
|
|
||||||
|
#sub /\ | (
|
||||||
|
&& This code checks if input is equal to another string
|
||||||
|
¿??$ /=> "hello"\? | && Takes input and compares to string
|
||||||
|
!<= "World!"!; Prints World!
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue