SpiderBasic and PureBasic behave differently at casting INTs

Found an issue in SpiderBasic ? Please report it here !
User avatar
Kurzer
Posts: 90
Joined: Mon May 26, 2014 9:33 am

SpiderBasic and PureBasic behave differently at casting INTs

Post by Kurzer »

SpiderBasic and PureBasic behave differently when casting data types (integer, float)
The following snippet returns a valid floating point number in SpiderBasic and zero in PureBasic.

Code: Select all

Define.i Width=320, Height=99
Debug 100 / Width * Height
Markus
SB 2.32 x86, Browser: Iron Portable V. 88.0.4500.0 (Chromium based), User age in 2023: 55y
"Happiness is a pet." | "Never run a changing system!"