function test(id)
{
var m = id;
k = 0;
if (k < data.length)
{
} // end if
data[k] != m ? (k++) : ();
return(data[k] != m ? (k++) : ());
} // End of the function
I get this test function from a flash file. But i don’t know why i can’t compile it from Flash MX 2004 .
Error Symbol=Symbol 91, layer=Action Layer, frame=1:Line 8: Unexpected ‘)’ encountered
dad[k] != m ? (k++) : ();
Error Symbol=Symbol 91, layer=Action Layer, frame=1:Line 9: ‘)’ expected
return(data[k] != m ? (k++) : ());
Can anyone tell me what actually software to compile the above function which is understand ( ) ??