What a mess!
Jump to navigation
Jump to search
What a mess! is an esoteric programming language by User:A which is extremely messy. variables are defined like this:
var=value,
and the value can be both integer or string. This is the only command that is not messy here.
$variable, |
prints the variable's value. |
.variable, |
inputs a value for the variable to take.(If is contains only numbers, it is an int. Else, it is a string.) |
+
|
do math. For example:
x=4, J=x-2, sets a=honey, b=moon, c=a+b, sets |
condition?do when true:do when false, |
start an if statement with the condition.
|
condition:do something, |
starts a while loop with the given condition.
|
There are 2 conditions:
> |
is greater than |
< |
is less than |
And, two logic statements:
! |
not |
& |
and |
Example - Hello, World!
hello=Hello World, $hello,