Merge pull request #2 from Ihre-Kaiserliche-Hoheit/main

Added examples for functions Hello World and Input
This commit is contained in:
Schrottkatze 2021-12-16 10:14:30 +01:00 committed by GitHub
commit 660294523e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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!
)