ActionScript 언어 이해 > ActionScript 구문 사용 > 중괄호

 

중괄호

다음 스크립트와 같이 ActionScript 명령문은 중괄호({ })로 둘러싸인 블록으로 그룹화되어 있습니다.

on(release) {
	myDate = new Date();
	currentMonth = myDate.getMonth();
}