Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
blue circle isn't drawing and print isn't working?
#11
(09-21-2024, 04:05 AM)madscijr Wrote: It's single because that's the default type for an unsuffixed variable not explicitly DIMmed as something else. 
The default can be changed with the DEF{type} command, e.g., DEFLNG for long. 
Is that right?

Exactly. And that's basically what your original issue was. You had this basic code:

DIM x~&
x = 123

So the x you were using was SINGLE (which won't hold blue color channels due to rounding in scientific notation), even though all your DIM statements were for x~&.

Option Explicit would've caught the issue for you in a second. Wink
Reply


Messages In This Thread
RE: blue circle isn't drawing and print isn't working? - by SMcNeill - 09-21-2024, 05:40 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mac print #file crlf? BlameTroi 5 329 02-16-2026, 08:42 PM
Last Post: BlameTroi
  Print strings with accents and special chars Ikerkaz 8 679 12-20-2025, 09:28 PM
Last Post: TempodiBasic
  plotting shapes not working madscijr 6 623 10-22-2025, 05:29 AM
Last Post: SMcNeill
  why isn't _FULLSCREEN working? madscijr 5 510 09-20-2025, 01:47 AM
Last Post: SMcNeill
  I'm working on an old MS-DOS thingy... KlamPs 2 504 08-25-2025, 09:43 AM
Last Post: hsiangch_ong

Forum Jump:


Users browsing this thread: 1 Guest(s)