Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SHARED statement
#7
We're going to get more of these from people who think BASIC is like Pascal. Or from a few programmers who programmed a lot in Pascal and think it's entirely sensible to translate directly:

[code]Var a, b, c : Integer;[code]

"If it works at the front, then it should work at the back too!" Because they didn't use QB64 while Galleon was the chief. Back then, at least while I had v0.98 every single variable had to be decorated with type specifically or it was at the mercy of a global first-letter-of-the-name definition. Even then still had to do it for UDT. Started calling for a type sigil for _MEM, LOL. The "DIM AS <type> ..." saved typing for a lot of people for sure, but it also made them think that they could turn the "AS <type>" to the end which got them into trouble.

I admit that this got me until I read SMcNeill's post. Shy
Reply


Messages In This Thread
SHARED statement - by TerryRitchie - 03-14-2023, 07:16 PM
RE: SHARED statement - by bplus - 03-14-2023, 08:01 PM
RE: SHARED statement - by RhoSigma - 03-14-2023, 10:38 PM
RE: SHARED statement - by Kernelpanic - 03-14-2023, 11:33 PM
RE: SHARED statement - by SMcNeill - 03-15-2023, 01:43 AM
RE: SHARED statement - by TerryRitchie - 03-15-2023, 03:18 AM
RE: SHARED statement - by mnrvovrfc - 03-15-2023, 12:23 PM
RE: SHARED statement - by SMcNeill - 03-15-2023, 02:07 PM
RE: SHARED statement - by TempodiBasic - 03-19-2023, 11:51 PM



Users browsing this thread: 2 Guest(s)