Heh, I'm not sure if I'll even manage simple 2D SDL graphics in a month, let alone OpenGL.

The code:

Code:
program sdltest;
uses sdl;
var scr: PSDL_Surface;

begin
SDL_Init (SDL_INIT_VIDEO);
scr:= SDL_SetVideoMode (640, 480, 8, SDL_ANYFORMAT);
SDL_Quit;
end.

Oh, and also - which compiler are the SDL tutorials (the ones that come with it) written for? There is end; instead of end. and some other differences.
One more thing. I don't get the error checking code.
Something like this...

Code:
if &#40; SDL_Init &#40;SDL_INIT_VIDEO&#41; < 0 &#41; then
begin

MessageBox &#40;0, PChar &#40;Format &#40;'Couldn't initialize SDL &#58; %s', &#91;SDL_GetError&#93;&#41;&#41;, 'Error', MB_OK or MB_ICONHAND&#41;;

SDL_Quit;
exit;
end;
Okay, the code itself is pretty straightforward and self explanatory. But this PChar and Format in the MessageBox part... I always get an error there. Using Windows and SDL. Am I forgetting something or what? :?