Varia

From Esolang
Jump to navigation Jump to search

Varia is an equation-based esolang created by User:Ϫ.

Commands

Anything after the equals sign is irrelevant to the command, but it will not parse the line if it is not correct.

A= Sets variable A to the user input.
Log(A)= Sets variable A to 0.
A+B= Stores A into B.
[X]+B= Stores value X into B. (you do not write the brackets)
A(B+C)= Sets A to the result of B+C.
A(B-C), A(B*C), A(B/C), A(B^C)= Like A(B+C)=, but for different operations.
A^[X]= Outputs A and sets A to X at the same time.
A/[X]= Sets A to true if X is even or false if X is odd.
A*[X]= Skips the next line if A is false, or true when X is odd.