Page 1 of 1

help syntaxe please!

Posted: 21 May 2016 21:06
by dric
hello, i'm new on lemur and i have an litle problem with syntaxe for an expression.

i want if is possible: if (x > 10 "or" x < 20) myvar = anything

what is correct syntaxe for this?

sorry for my english and i hope you understand my question :)
thanks by advance

Re: help syntaxe please!

Posted: 22 May 2016 03:45
by rad3d
if (x>10 || x< 20) myvar = anything;

Re: help syntaxe please!

Posted: 22 May 2016 10:27
by dric
thx rad3d,
strange i've tested this before post here and not work.. my script have certainly an other problem. :roll: :)