For my game, I'm relying heavily on variables such as:
Code:
array [1..10] of procedure
which is rather nice in that I can let the program 'modify itself' and do some rather nice things (especially for performance)

Anyways, the following works:
Code:
PProc := @Halt;
I tried to pass variables, but I'll just say its ugly and leave it at that... My bone with FPC though lies not in any of the above but rather that the whole @standard_proc is rather patchy. For example, I'm trying to break out of a main loop for a menu in my game thus a @break would make sense right? FPC disagrees...

Specifically I get a:
Code:
oGame.pas(35,32) Error: Incompatible types: got "untyped" expected "<procedure variable type of procedure;Register>"
error in fpc so if anyone has done this other than writing a specific procedure in each object to flip a bool variable I would very much appreciate that pointer (pun of the day )