Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Oldest QB45 bug ever known
#1
This error reported in QB45 has been there forever:

Code: (Select All)
Rem oldest QB45 bug ever known.
x$ = "9"
x = Int(Val(x$))
Print x ' returns 8
x = Int(Val(x$) + .5)
Print x ' returns 9
Rem no bug here:
x = CSng(Val(x$))
Print x ' returns 9
x = CInt(Val(x$))
Print x ' returns 9
x = Int(Val("&H" + x$))
Print x ' returns 9
End
However QB64 does not duplicate this error.

Am I incorrect in assuming this bug has been squashed?

Erik.
Reply


Messages In This Thread
Oldest QB45 bug ever known - by eoredson - 07-02-2024, 06:53 AM
RE: Oldest QB45 bug ever known - by euklides - 07-02-2024, 07:07 AM
RE: Oldest QB45 bug ever known - by SMcNeill - 07-02-2024, 07:19 AM
RE: Oldest QB45 bug ever known - by eoredson - 07-02-2024, 07:41 AM
RE: Oldest QB45 bug ever known - by Pete - 07-02-2024, 05:39 PM
RE: Oldest QB45 bug ever known - by eoredson - 07-15-2024, 02:22 AM
RE: Oldest QB45 bug ever known - by bplus - 07-15-2024, 01:08 PM
RE: Oldest QB45 bug ever known - by eoredson - 07-17-2024, 04:07 AM
RE: Oldest QB45 bug ever known - by bplus - 07-17-2024, 08:23 AM
RE: Oldest QB45 bug ever known - by Pete - 07-17-2024, 08:13 AM
RE: Oldest QB45 bug ever known - by bplus - 07-17-2024, 08:34 AM
RE: Oldest QB45 bug ever known - by Pete - 07-17-2024, 02:52 PM
RE: Oldest QB45 bug ever known - by eoredson - 07-31-2024, 02:01 AM
RE: Oldest QB45 bug ever known - by eoredson - 07-31-2024, 03:07 AM



Users browsing this thread: 5 Guest(s)