TomTuff
2014-10-20 05:31:52
First, for the uninitiated on pointers in Simba, here's an excerpt from the Lape documentation on wizzup.org:
While I can see how this could be useful, I don't see how they could be used in RS scripts.
Pointer Operators
- @
- ^
The @ operator returns the memory address of a variable, whereas the ^ operator retrieves the value from a memory address:
var
ip: ^Integer;
i: Integer;
begin
i := 41;
ip := @i;
ip^ := ip^ + 1;
writeln(i);
end;
While I can see how this could be useful, I don't see how they could be used in RS scripts.