Next: 13.2 Font Naming Caveat Up: 13 FORTRAN Binding Previous: 13 FORTRAN Binding

## 13.1 Names for the FORTRAN GLUT Binding

Allowing for FORTRAN's case-insensitivity, the GLUT FORTRAN binding constant and routine names are the same as the C binding's names.

The OpenGL Architectural Review Board (ARB) official OpenGL FORTRAN API prefixes every routine and constant with the letter F. The justification was to avoid name space collisions with the C names in anachronistic compilers. Nearly all modern FORTRAN compilers avoid these name space clashes via other means (underbar suffixing of FORTRAN routines is used by most Unix FORTRAN \ compilers).

The GLUT FORTRAN API does not use such prefixing conventions because of the documentation and coding confusion introduced by such prefixes. The confusion is heightened by FORTRAN's default implicit variable initialization so programmers may realize the lack of a constant prefix as a result of a run-time error. The confusion introduced to support the prefixes was not deemed worthwhile simply to support anachronistic compliers.

Next: 13.2 Font Naming Caveat Up: 13 FORTRAN Binding Previous: 13 FORTRAN Binding