AS3에서는 여러 개의 파라메터를 보낼 수 있게 바뀌었네요.
public function trace(… arguments):void
Parameters
… arguments — One or more (comma separated) expressions to evaluate. For multiple expressions, a space is inserted between each expression in the output.quote from ActionScript 3.0 Language and Components Reference
trace(“a”, “b”, “c”, “d”);
a string separated by space will be printed.
a b c d
를 실행하면
a b c d
와 같이 ” ” (공백문자)로 구분된 문자열이 출력되는 군요.

Recent Comments