bonjour,

je dispose d'un PBM-R5 de COMFILE.
Je souhaite savoir si qqun a deja eu affaire a ce type materiel et si oui lui demander de m'expliquer le comportement decrit ci-dessous


CONST DEVICE = R5
lcdinit
cls

dim sem as byte
sem=0

dim A as single
dim B as single
dim C as single

A=0
B=0
C=0

A=2
print A ' --> OK, i get 2 on the LCD
delay 1000
cls

B=-3
print B ' --> OK, i get -3 on the LCD
delay 1000
cls

C=A*B
print C '--> NOK !!! i get -0 on the LCD ( expected: -6 )
delay 1000
cls

A=2.0
B=3.0
C=A*B
print C '--> NOK !!! i get -1065353216 on the LCD ( expected: 6.0 )
delay 1000
cls

print " <<END>>"