sleep command in compiler no warning - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11) +--- Forum: General Discussion (https://qb64phoenix.com/forum/forumdisplay.php?fid=2) +--- Thread: sleep command in compiler no warning (/showthread.php?tid=3364) |
sleep command in compiler no warning - doppler - 01-10-2025 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 RE: sleep command in compiler no warning - Pete - 01-10-2025 I ran across a similar incident, at the start of the week, where the pre-compiler missed an error as well. It had something to do with an array but with the no-warning power outages this week, due to corrupt politicians who are letting this state go to hell to make a buck, I don't know if I can retrieve the example. I'm a little burnt out on trying. Anyway, the compiler system is pretty damn good, but no, it's not perfect. Often the small stuff, unless it's a super easy fix, gets tabled. On the plus side, what our developers have done to progress this language in the bigger picture since has been nothing short of remarkable. That's just my opinion, but everyone is entitled to it. Pete |