neilsf / xc-basic3

A BASIC cross compiler for MOS 6502-based machines
MIT License
45 stars 5 forks source link

ERROR: Only strings are allowed in INPUT statement - Type's #20

Closed jakebullet70 closed 2 years ago

jakebullet70 commented 2 years ago

disk.bas:16.0: ERROR: Only strings are allowed in INPUT statement, got diskio

exit status: 1

image

image disk.zip

jakebullet70 commented 2 years ago

A note: In BASIC the THIS would be changed to ME.

neilsf commented 2 years ago

Looks like a bug, I'll check this. Thanks. PS: In Visual Basic classes, yes, it's called Me. In other dialects, e.g Freebasic, it's called THIS.

neilsf commented 2 years ago

Fixed.