Skip to content

Conditions

S Pradosh edited this page Oct 23, 2022 · 4 revisions

If conditions

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

Hex Variable Operators are:

==
!=
>=
<=
>
<

String Variable Operators

==
!=

Bool Variable Operators

==
!=

πŸ‰ Melon Language Wiki

πŸ˜‰ Simple, πŸ’Ύ Low Level, πŸ‘¨β€πŸ’» PPL


Requirements

[External] Git

[External] C# Runtime

Architecture and OS that Melon Supports

Coding & Learning

Getting Into the coding

Variables

Advanced Calculations

Casting and Incrementing

Timers

Compilation

Loops and Goto

Functions

Conditions

File System

User Input

Importing Files and Library

Graphics

Package System

Configuration

Setup OS X for Melon Language

Setup Melon Language for Windows Terminal

Setup Melon Language for VSCode Terminal

Setup Environment CLI for Melon Language on Windows

Other

Downloads History

✨ WOW! You are at the end! now you are a Melon πŸ‰ programmer! Claim your badge!

Melon

Copy Paste: [![Melon](https://nuag9x4nt640.runkit.sh)](https://github.com/pradosh-arduino/Melon-Language/)

Clone this wiki locally