Interactive PowerBasic Forum

IT-Consultant: Charles Pegge => OxygenBasic Examples => Topic started by: Frank BrĂ¼bach on October 30, 2023, 04:37:28 PM

Title: Larger and lower Case
Post by: Frank BrĂ¼bach on October 30, 2023, 04:37:28 PM
Capitalization and lower Case
DIM a,b,c AS LONG

Doesn't Work with oxygen
dim a,b,c as long

Is much better one
TYPE
FUNCTION
MAIN
PROCEDERE
SUB
...

Much more dont Like larger cases.
Little Thing I have noticed Last weeks and month.

Bye Frank
Title: Re: Larger and lower Case
Post by: Charles Pegge on October 30, 2023, 05:23:47 PM
The reason is:

#case capital

This makes symbol name lexing sensitive to fully capitalized names. It is required when using header files like gl.h which declares differnt names with the same spelling but different cases. Partial case-sensitivity is sufficient here  because all the Opengl constants are fully capitalized.