Posts: 176
Threads: 36
Joined: May 2022
Reputation:
16
Hi, I found that if I use $NoPrefix, I just don't mess with OpenGL. Maybe it comes from the fact that OpenGL commands have the underscore in their original wording. So now the question is. Can the underscore removal be disabled in the _GL sub?
Posts: 1,510
Threads: 53
Joined: Jul 2022
Reputation:
47
Hmmm, nobody else knows? I would like to know too.
The problem is Galleon chose a name that was as short and easy to remember as possible for the "user function" to play around with OpenGL. But without underscore it's just "GL" which is a variable in a bunch of old BASIC programs for interpreters recognizing at least two distinct letters as a variable name. There is opposition to "CALL GL" many years after "CALL CLEAR" on Texas Instruments cartridge BASIC LOL, but there was no choice with the latter to clear the screen because there was no dedicated button for it.
Could have been called "GLMAIN" or "GL_MAIN" instead to manage it better.