Project

General

Profile

Bug #72

And

Added by Anonymous over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
01/22/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

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)

#1

Updated by Anonymous over 2 years ago

doh think i made a mistake something else is wrong, please delete :/

#2

Updated by Baptiste Pillot over 2 years ago

  • 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 :)

#3

Updated by Francois Lionet over 2 years ago

  • Status changed from New to Resolved
  • Target version set to 0.9.3.2

Fixed: the first parameter was duplicated in the code...

#4

Updated by Baptiste Pillot over 2 years ago

  • Status changed from Resolved to Closed

Ok good.

Also available in: Atom PDF