Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why is 'base' treated like a reserved word in the IDE?
#1
Print base

That gives us a Name already in use IDE error message with the syntax checker on.

Now sure, base is a computer / mathematical term, but I thought the only terms excluded from variable use were keywords.

Oh, I should include placing the cursor on 'base' and pressing F1 does nothing, and base is not a keyword in the wiki.

Pete

- Steve replies... Ha, ha, Pete can't make it to first base!
Reply
#2
Perhaps it is in use in the generated C++ code...      (This is raw speculation, I dont know this for a fact)
I know base is a keyword in C# but I do not recall if C++ uses it.
Reply
#3
OPTION BASE

https://qb64phoenix.com/qb64wiki/index.php/OPTION_BASE
Reply
#4
It's part of the `OPTION BASE` command. Realistically it could probably still be allowed, but that's is why it's not.
Reply
#5
(04-11-2025, 09:47 PM)DSMan195276 Wrote: It's part of the `OPTION BASE` command. Realistically it could probably still be allowed, but that's is why it's not.

echo... echo... echo... I just said that!   Big Grin

Probably about 0.02 seconds quicker posting.  Wink
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Word Wrap Pete 3 169 02-26-2026, 05:34 PM
Last Post: Pete
  IDE Colors Dimster 10 731 12-02-2025, 03:05 PM
Last Post: Kernelpanic
  Make IDE $Console:Only output readably large dakra137 1 523 10-10-2025, 12:21 PM
Last Post: hsiangch_ong
  Seeking Matches in a Data Base Dimster 10 1,028 07-13-2025, 12:26 AM
Last Post: Dimster
  Why is 'option' treated like a reserved word in the IDE? Pete 2 558 04-11-2025, 10:03 PM
Last Post: Pete

Forum Jump:


Users browsing this thread: 1 Guest(s)