I've got the hard part of this issue done, the only problem is that my OR operation is returning the same value. I quickly wrote up a test script to make sure I was doing it properly. Here it is...

code:
BREAK ON
$VAR1 = 577
$VAR1 = $VAR1 | &40
? $VAR1

$VAR1 is returning 577. If I'm not mistaken the operation should look something like this...

code:
10-01000001     (577)
| (OR)
00-01000000 (64)
RESULT (Equals)
10-00000001 (513)

Can someone shed some light on this for me?

Thanks,
Ben

[ 12. September 2002, 20:58: Message edited by: Ben Dulaney ]