Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sleep command in compiler no warning
#1
This was unexpected but I did it anyway. (my dumb mistake)

Using .1 as a value for sleep gives no warning in the compiler.  It must be an integer (a whole number).  Likely there are other commands requiring integer inputs.  Which likely also do not warn.  Shouldn't the pre-compiler be finding this ?  I got no idea what integer was used by the compiler for .1 ?

Just an observational comment
I did just go with _Delay instead
Reply


Messages In This Thread
sleep command in compiler no warning - by doppler - 01-10-2025, 04:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Fullscreen command glitch 2112 2 512 10-12-2025, 04:33 PM
Last Post: 2112
  _Keyhit is devilishly evil ... here's why (warning) doppler 3 789 09-15-2024, 02:09 PM
Last Post: doppler
  Options menu Compiler Settings TerryRitchie 5 1,336 05-06-2024, 02:17 PM
Last Post: TerryRitchie
  COMMAND$ and wildcards on files zaadstra 18 3,383 01-19-2023, 07:31 PM
Last Post: zaadstra
  Sound Command johnno56 13 2,400 12-23-2022, 09:31 PM
Last Post: mnrvovrfc

Forum Jump:


Users browsing this thread: 1 Guest(s)