1
Vote

Add conditional statements

description

Hi,

I am looking for sample on how to work on the if condition.

if(var1>3) then 4
if(var1>2) then 3
if(var1>1) then 2
else 0

Thank you.
Kee

comments

napen123 wrote Jul 27, 2015 at 3:04 AM

You should look at this tutorial Artem made on adding programming language type things (like if statements) - http://blog.artemlos.net/posts/creating-a-programming-language-with-mathos-parser-2/