[fpc-pascal] Dot syntax for types?

Ryan Joseph ryan at thealchemistguild.com
Sun Jan 14 03:11:32 CET 2018

I remember I heard about a mode switch that requires "type groups” (what are these called btw?) to use a . and be prefixed. For example:


TGLType.GL_FLOAT would be the full name (note GL_FLOAT already is declared so I want the type to be explicitly TGLType.GL_FLOAT in all cases). I need to make some wrappers around OpenGL types and I thought this would be a nice way to do it instead of declaring a bunch of constants with prefixes but I just can’t remember how to handle that dot syntax (maybe it’s in the trunk under development). Thanks.

	Ryan Joseph

More information about the fpc-pascal mailing list