Adobe 12040118 Using Help - Page 9
Keywords and statement syntax, Operators, Table 1, Description of Operators
UPC - 718659361808
View all Adobe 12040118 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 9 highlights
Help Using Help Writing Scripts Back 9 Keywords and statement syntax Although it is not possible to provide an exhaustive resource describing usage of JavaScript, the following tables provide an overview of keywords, statements, operators, precedence and associativity. The following table lists and describes all keywords and statements recognized by the After Effects scripting engine. Table 1 Keywords and Statement Syntax Keyword/Statement Description break Standard JavaScript; exit the currently executing loop. continue Standard JavaScript; cease execution of the current loop iteration. case label used in a switch statement default label used in a switch statement when a case label is not found do - while Standard JavaScript construct. Similar to the w h i l e loop, except loop condition evaluation occurs at the end of the loop. false Literal representing boolean false. for Standard JavaScript loop construct. for - in Standard JavaScript construct. Provides a way to easily loop through the properties of an object. function Used to define a function. if/if - else Standard JavaScript conditional constructs. new Standard JavaScript constructor statement. null Assigned to a variable, array element, or object property to indicate that it does not contain a legal value. return Standard JavaScript way of returning a value from a function or exiting a function. switch Standard JavaScript way of evaluating an expression and attempting to match the expression's value to a c a s e label. this Standard JavaScript method of indicating the current object. true Literal representing boolean true. undefined Indicates that the variable, array element, or object property has not yet been assigned a value. var Standard JavaScript syntax used to declare a local variable. while Standard JavaScript construct. Similar to the d o - w h i l e loop, except loop condition evaluation occurs at the beginning of the loop. with Standard JavaScript construct used to specify an object to use in ensuing statements. Operators The following tables list and describe all operators recognized by the After Effects scripting engine and show the precedence and associativity for all operators. Table 2 Description of Operators Operators Description new Allocate object. Using Help Back 9