-
-
Notifications
You must be signed in to change notification settings - Fork 1
Conditions
S Pradosh edited this page Oct 23, 2022
·
4 revisions
So you have 2 variable let's say those are:
hex hello = 3F ? Locked = false
hex world = 3F ? Locked = false
and you want to check if it's equal or not so we do:
if(hello == world)
println
"Equal"
if-end
but there is no else conditions, if you want to get opposite output just use !=
(user opposite operator instead of else)
if(hello != world)
println
"Not%0aEqual"
if-end
Hex Variable Operators are:
==
!=
>=
<=
>
<
==
!=
==
!=
Copyright (C) S Pradosh 2023 - Closed Source Project
Architecture and OS that Melon Supports
Setup Melon Language for Windows Terminal
Setup Melon Language for VSCode Terminal
Setup Environment CLI for Melon Language on Windows
Copy Paste: [](https://github.com/pradosh-arduino/Melon-Language/)