boberman
2008-05-03 14:34:46
Hey everyone, a new script I am working on would benefit greatly if scar can use pointers, specifically function/procedure pointers. I have failed so far to get one implemented and I am wondering if it is just a syntax issue (since scar isn't exactly pascal)
Here is what I have tried.
So, can it be done? Or do I have to work around it, *sniff* I miss my pointers :)
Here is what I have tried.
type
intPtr = ^Integer; // Fail
funcPtr = ^function(i : integer); // Fail
ProcPtr = ^procedure; // Fail
intReDef = Integer; // SuccessSo, can it be done? Or do I have to work around it, *sniff* I miss my pointers :)