Added some examples

This commit is contained in:
Kaiser 2021-12-16 10:03:50 +01:00
parent 4f3af81aba
commit 80ac9689dd

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"!
@ -44,5 +48,12 @@
#sub /\ | ( #sub /\ | (
&& This code prints hello world && This code prints hello world
!¿??$? <= "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!
) )