Hi, I'm just learning how to script, but after copying and pasting a script in one of the Begginer TUT's I get this error:
Here is the entire script for those that want to see it:Code:Failed when compiling Line 1: [Error] (1:1): Unable to register function function FindGapsTPA(TPA : TPointArray; MinPixels: Integer): T2DPointArray; in script
Note: I didn't write this, it is copied and pasted directly out of a TUT.Code:program ExampleConstants3; const ShallWeWrite=True;//True to Type, False not to Type Write='Hi'; begin if(ShallWeWrite=True) then begin Writeln(Write); end; end.


Reply With Quote



