MuteClown
17-03-2011, 04:50 PM
Atm im so brain dead, trying to figure out a few things on OpenGL. I went and started a new source file, after couple of hours putting things into place im getting a stupid error on all my IF and CASE statements that use a structure or class. I think its the dot notation, but for the life of me i can think why =/
I.E
case keysym.sym of
SDLK_ESCAPE: Term();
error:
Free Pascal Compiler version 2.2.4 [2009/10/25] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Win32 for i386
Compiling n.pas
Compiling lib\dglOpenGL.pas
n.pas(191,14) Error: Illegal qualifier
n.pas(191,14) Error: Ordinal expression expected
n.pas(191,14) Fatal: Syntax error, "OF" expected but "identifier SYM" found
I.E
case keysym.sym of
SDLK_ESCAPE: Term();
error:
Free Pascal Compiler version 2.2.4 [2009/10/25] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Win32 for i386
Compiling n.pas
Compiling lib\dglOpenGL.pas
n.pas(191,14) Error: Illegal qualifier
n.pas(191,14) Error: Ordinal expression expected
n.pas(191,14) Fatal: Syntax error, "OF" expected but "identifier SYM" found