Das Script wurde auf das Wesentliche gekürzt.

Code:
Function test(s As SPoint, i as Integer)
{
  Return;
}

test(New SPoint(500, 500), 10);
Quote Originally Posted by Ausgabe
compiler error: Global member 'test' not found. (Line: 8, Column: 3, Index: 95, Token: 'test', File: 'Script 7653').
compiler error: Global member 'test' not found (Line: 8, Column: 3, Index: 95, Token: 'test', File: 'Script 7653').





Code:
Function test(s As SPoint, i As Integer)
{
  Return;
}

Var x As New SPoint(500, 500);

test(x, 10);
Quote Originally Posted by Ausgabe
Kompilierung erfolgreich.

Kann mir bitte mal jemand meinen Fehler in Code 1 erklären?