Bixby Sayz
2011-03-21 21:53:39
Been searching forums repeatedly but can't seem to find a definitive answer.
It appears pointers to functions is supported, but that is it?
This valid pascal code taken from a pascal tutorial fails to compile in Simba (or SCAR for that matter).
I found a few posts making vague references to RUTIS but no indication how to switch to it/what the consequences are.
Reason for wanting this: I have a number of global vars that are of a custom type. It would be nice to stuff a pointer to them in the players array somewhere and do away with the global vars.
It appears pointers to functions is supported, but that is it?
This valid pascal code taken from a pascal tutorial fails to compile in Simba (or SCAR for that matter).
program Pointers;
var
i: integer;
p: ^integer;
begin
i := 1;
p := @i;
p^ := 2;
writeln(i);
end. I found a few posts making vague references to RUTIS but no indication how to switch to it/what the consequences are.
Reason for wanting this: I have a number of global vars that are of a custom type. It would be nice to stuff a pointer to them in the players array somewhere and do away with the global vars.