[Pas2js] Parser argument bug

Ryan Joseph ryan at thealchemistguild.com
Sun May 13 12:33:46 CEST 2018


This function compiled but the third parameter was zero. Also SinCos should be in the Math unit right?

procedure SinCos (angle: TScalar; var sinus: TScalar var cosinus: TScalar); 
begin
	sinus := sin(angle);
	cosinus := cos(angle);
end;

Regards,
	Ryan Joseph



More information about the Pas2js mailing list