Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A possible bug in qb64
#2
If you're using Option _Explicit, a _DEFINE isn't enough to declare a variable -- they have to be expressly dmmed as whatever type you wish them to be.

Change that line to the following instead:

DIM AS _UNSIGNED INTEGER I, J, K

Note 2 that QBASIC and QB64 are neither one CaSe SeNsItIve...
  
I or i, it doesn't matter as far as variable names go.   The IDE just happens to choose uppercase or lowercase to match whatever format you apply first in your code for asthetic reasons.  As for storing values or executing code?  There's no difference at all between Foo, FOo, FOO, fOO, foO, or any other mixture of upper/lowercase version of FOO.  Wink
Reply


Messages In This Thread
A possible bug in qb64 - by ZabZab - 03-22-2024, 04:42 AM
RE: A possible bug in qb64 - by SMcNeill - 03-22-2024, 04:47 AM
RE: A possible bug in qb64 - by TDarcos - 03-25-2024, 06:23 PM



Users browsing this thread: 1 Guest(s)