Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
fixed is broken (*solved*)
#1
Code:
CLS

#include <input.bas>
dim num AS FIXED
value$=input(8)
cls
print value$
num=VAL(value$)

print num
print num/2
print ln (num)

The last line - ln(num) breaks it. Without that line it compiles, but gives nonsensical answers. I think this is the reason why my fSin benchmark isn't compiling. fSin works with fixed point numbers.

There's an issue with input / strings as well though:

Code:
CLS

#include <input.bas>

dim num AS FIXED

value$=input(8)
cls
print value$

Compiles, but gave an out of screen error for me.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)