Bug #72
closed
Added by Anonymous almost 5 years ago.
Updated almost 5 years ago.
Description
"And" doesn't work any longer in this situation:
FLAGS=195
Print "flag1:"+Str$(FLAGS and 128)
Print "flag2:"+Str$(FLAGS and 64)
Print "flag3:"+Str$(FLAGS and 32)
Print "flag4(512chars):"+Str$(FLAGS and 16)
Print "flag5(nonblink):"+Str$(FLAGS and 8)
Print "flag6(compress):"+Str$(FLAGS and 4)
Print "flag7(a font):"+Str$(FLAGS and 2)
Print "flag8(a palette):"+Str$(FLAGS and 1)
doh think i made a mistake something else is wrong, please delete :/
- Assignee set to Francois Lionet
Not sure :
In 0.9.2.6, result was right :
flag1: 128
flag2: 64
flag3: 0
flag4(512chars): 0
flag5(nonblink): 0
flag6(compress): 0
flag7(a font): 2
flag8(a palette): 1
But in 0.9.3.1, it's always 195 !
flag1: 195
flag2: 195
flag3: 195
flag4(512chars): 195
flag5(nonblink): 195
flag6(compress): 195
flag7(a font): 195
flag8(a palette): 195
Not good for a binary and.
TODO :)
- Status changed from New to Resolved
- Target version set to 0.9.3.2
Fixed: the first parameter was duplicated in the code...
- Status changed from Resolved to Closed
Also available in: Atom
PDF