adding condition to if statement

new syntax is if_true( . .. . )
where any string is allowed in case of true
This commit is contained in:
Torsten Ruger
2015-10-19 15:10:38 +03:00
parent 72ed05254e
commit 7cc7ab5c18
10 changed files with 18 additions and 13 deletions

View File

@ -1,4 +1,4 @@
if(0)
if_true(0)
fourty = 10
else
twenty = 5

View File

@ -1,4 +1,4 @@
if(3 > var)
if_yes(3 > var)
Object.initialize(3)
else
var.new(33)