ModernBinary

An esoteric programming language that hides your code behind ASCII numbers


Project maintained by ModernBinary Hosted on GitHub Pages — Theme by mattgraham

IF / Condition


To write a if / condition in modern binary, need to write a special form to write condition.

Example :

: condition {
    ...
}

Condition Operators

Operator Description
== If the values are equal to each other is executed.
!= If the values are not equal to each other is executed.
< If the value is smaller than the next value.
<= If a value is less than or equal to the next value.
> If a value is larger than the next value.
>= If a value is greater than or equal to the next value.

One of the modern binary rules right now is that you can not place multiple conditions on one condition. This rule is due to being a fun and resembling a binary.

Example :

[1111001]=( 1110100 11001010 101101000 111010000 )

[1111000] == [1111001] {

(1110000)=( 1010100 11100100 101011111 110010100 )

} ```