Hi,
On Island whats the difference between the two abs ?
var val3:=RemObjects.Elements.System.ABS(val2-val1);
var val3:=rtl.abs(val2-val1);
The second one has no overloads and just takes int
On toffee this works
namespace ConsoleApplication;
uses
Foundation;
begin
var val1:CGFloat := 12.1;
var val2:CGFloat := 13.2;
var val3:=abs(val2-val1);
if(val3>0)then
begin
end;
On Island it doesnt have a double overload so it wont compile.
Cheers,
John