Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Beschreibung

Syntax


Beispiel

function SwitchResult(v1,v2)
{
if (v1.Flag != -1)
{
   Result = v1;
}
else
{
   v2.FloatValue2 = 2;
   Result = v2;
}
if (v1.Flag == -1 && v2.Flag == -1)
{
   Result.FloatValue2 = 0;
}
return (Result);
}; /* SwitchResult() */