hello,
I would like to know what expression is faster in MSX-BASIC
IF BA>0 THEN XB=XB+IB
or
XB=XB-IB*(BA>0)
Obviously, BA is a flag to know if bullet is fired and XB,YB its coordinates. So, my real question is to know whether it is worth to use the second expression bearing BA is not always >0 in mind.
Thank you
Entrar ou registrar-se para comentar