"<<" and ">>" bitwise operat

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
SilentAngel
Captain
Posts: 239
Joined: Wed Mar 12, 2008 8:27 pm

"<<" and ">>" bitwise operat

Post by SilentAngel »

are "<<" and ">>" allowed in MOH scripting language? if not there is another way to do the same task of these operators??
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

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

Post 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 :)
Image
SilentAngel
Captain
Posts: 239
Joined: Wed Mar 12, 2008 8:27 pm

Post by SilentAngel »

thanks :)
Post Reply