Understanding the ActionScript Language > Using ActionScript syntax > Semicolons

 

Semicolons

An ActionScript statement is terminated with a semicolon. For example, the following statements are terminated with semicolons:

column = passedDate.getDay();
row    = 0;

If you omit the terminating semicolon, Flash will still compile your script successfully. However, using semicolons is good scripting practice.