Results 1 to 3 of 3

Thread: Really silly thing.. =/

  1. #1

    Really silly thing.. =/

    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

    Code:
    case keysym.sym of
    		SDLK_ESCAPE: Term();
    error:

    Code:
    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
    Last edited by MuteClown; 17-03-2011 at 04:55 PM.

  2. #2
    nvm, forgot the '^'
    *sigh*

    maybe i should of put that '^' on my head for a dunce hat :/

  3. #3
    That's okay. Sometimes all you need is a little time off just to spot the problem/solution yourself.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •