mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-03 13:31:23 +00:00
When you use OPTION _EXPLICIT, all variables and arrays must be defined with DIM (or equivalent statement) before they can be used. QB64's case check already aids in avoiding mistakes on that front, but now you will run into a compiler error if a variable or array is used before being defined. Because OPTION _EXPLICIT sets a compiler behavior, it must come before any other statements in your code. As this is a non-QB4.5 feature, the keyword uses an underscore, in order to avoid conflicts with existing code. |
||
---|---|---|
.. | ||
android | ||
global | ||
ide | ||
qb_framework | ||
subs_functions | ||
virtual_keyboard | ||
qb64.bas |