Page 1 of 1

"<<" and ">>" bitwise operat

Posted: Fri Nov 05, 2010 3:16 pm
by SilentAngel
are "<<" and ">>" allowed in MOH scripting language? if not there is another way to do the same task of these operators??

Re: "<<" and ">>" bitwise op

Posted: Sat Nov 06, 2010 11:44 am
by jv_map
SilentAngel wrote:are "<<" and ">>" allowed in MOH scripting language?
No (they would also be too low-level for a scripting language).
if not there is another way to do the same task of these operators??
For integers, multiply or divide by two the intended number of times :)

Posted: Sat Nov 06, 2010 3:16 pm
by SilentAngel
thanks :)