PDA

View Full Version : Bitwise OR


garylyb
02-09-2006, 01:19 PM
Is there any way to OR 2 numbers together?

The Math function doesn't have an or, and I can't find a bitwise or operator.

like a = b | c; in C++

Thanks

Gary

Worm
02-09-2006, 01:55 PM
This is an AMS app, but in it is a DLL I wrote to do Bitwise operations in AMS. Should work with SF7 too

http://www.indigorose.com/forums/showpost.php?p=66246&postcount=18

Intrigued
02-09-2006, 05:56 PM
Worm would you fit a XOR in there?