remy / txt2bas

ZX Spectrum BASIC conversion tooling (specific support for NextBASIC)
19 stars 0 forks source link

def fn isn't adding 5 byte float to params #4

Closed remy closed 4 years ago

remy commented 4 years ago
10 DEF FN r(x)= INT (x+0.5)
20 PRINT FN r(2.2)

The x in the DEF FN should be followed by 0E 82 0C CC CC CD