Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
option explicit
#2
(01-23-2026, 02:55 AM)Unseen Machine Wrote: How many of you guys use this?

Why do you use it if you do?

Your's is an error that screams at you nice and loud.

Code: (Select All)
DIM ThisIsMyVariable0123 as Long

ThisIsMyVariableO123 = 123
PRINT ThisIsMyVariable0123

Now WTF is wrong with this code?  It runs!  It compiles!  It frigging glitches out!!

GAHHHHHHH!!!

QB64 IS BROKEN!!!

GAHHHHHHHH!!!!!

It's two AM!  I'm tired!  My eyes are hurting!  There's nothing frigging wrong with my code!  It has to be the stupid devs and the stupid language itself that is wrong!  I've looked over all 80,000 lines of my code and there's no damn compiler error in there anywhere!!

Let me post this on the forums and see what those dumn devs have to say for themselves!  Show me what's wrong with it, if you can, you noobs!!!

GAAHHHHHHHH!!



Response 30 seconds later:

"Add OPTION _EXPLICIT to the top of your code.   You mistyped a variable name.  The code is right; your naming isn't."



WTTTTFFFFFFFF!!!!!!!

GAAAAHHHHHHHHHHHHHHHHHHH!!!!!

*And thus, another user of Option Explict was born.*
Reply


Messages In This Thread
option explicit - by Unseen Machine - 01-23-2026, 02:55 AM
RE: option explicit - by SMcNeill - 01-23-2026, 03:11 AM
RE: option explicit - by Unseen Machine - 01-23-2026, 03:24 AM
RE: option explicit - by ahenry3068 - 01-23-2026, 03:29 AM
RE: option explicit - by SMcNeill - 01-23-2026, 04:26 AM
RE: option explicit - by madscijr - 01-23-2026, 03:38 AM
RE: option explicit - by Unseen Machine - 01-23-2026, 04:39 AM
RE: option explicit - by SMcNeill - 01-23-2026, 05:54 AM
RE: option explicit - by Unseen Machine - 01-23-2026, 05:58 AM
RE: option explicit - by Pete - 01-23-2026, 06:27 AM
RE: option explicit - by bplus - 01-23-2026, 07:37 AM
RE: option explicit - by luke - 01-23-2026, 08:18 AM
RE: option explicit - by Magdha - 01-23-2026, 11:59 AM
RE: option explicit - by ahenry3068 - 01-23-2026, 02:43 PM
RE: option explicit - by grymmjack - 01-23-2026, 03:56 PM
RE: option explicit - by OldMoses - 01-23-2026, 04:13 PM
RE: option explicit - by madscijr - 01-23-2026, 06:19 PM
RE: option explicit - by dano - 01-25-2026, 12:40 PM
RE: option explicit - by madscijr - 01-25-2026, 07:32 PM
RE: option explicit - by Unseen Machine - 01-26-2026, 12:02 AM
RE: option explicit - by bplus - 01-26-2026, 03:09 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  An option to not need _GL sub Unseen Machine 4 1,078 10-17-2025, 02:41 PM
Last Post: Unseen Machine
  Found a BUG with the QB64 editor compiled with the -O3 option Coolman 2 845 06-02-2022, 06:27 PM
Last Post: Coolman
  A preview of a new QB64 option SMcNeill 12 2,723 05-04-2022, 01:11 PM
Last Post: DSMan195276

Forum Jump:


Users browsing this thread: 1 Guest(s)