found a bug on draw command
3 posts
• Page 1 of 1
Re: found a bug on draw command
Unlike Sinclair Basic, which uses FLOAT type for every variable, when you don't declare vars, ZX BASIC tries to guess the best type for them.
It seems it's using Byte types (range -128..127) which could to be causing overflow.
Add this line:
to ensure the Integer type will be used (using Float will also work, but will take more memory and will be almost as slow as Sinclair BASIC).
It seems it's using Byte types (range -128..127) which could to be causing overflow.
Add this line:
to ensure the Integer type will be used (using Float will also work, but will take more memory and will be almost as slow as Sinclair BASIC).
Re: found a bug on draw command
thanks! 
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest


