I'm checking out simba 1.2 (rev 1206), and I'm wondering why I'm getting this error:
Error: Variable expected
Simba Code:
function TBoxArray.getMiddle(): TPoint;
var
i : integer;
begin
result := self.getBounds().getMiddle(); //this line
end;
Changing to this fixes the issue, but the previous used to work. Just a bug due to unstable build?
Simba Code:
function TBoxArray.getMiddle(): TPoint;
var
i : integer;
b:TBox;
begin
b := self.getBounds();
result := b.getMiddle();
end;
I want to use srl-6 with simba 1.2, but I've been replacing code for awhile now, is there something I'm missing? So far I've replaced all instances if GetTickCount64 with GetTickCount, I've also replaced all Boolean variable identifiers that were named 'static' as that was an error too. Now, I'm having the issue that I'm posting about and don't want to change everything without actually needing to