Reserved ActionScript keywords
To my surprise, there aren't that many reserved keywords. Did you think Date was reserved? I kind of did, but it is not. The compiler is more than happy to let you use Date as a function or variable name. I wouldn't recommend it, but fact is that you can. Trace? Not reserved either. Here is the short list of keywords that are reserved:
break
case
class
continue
default
delete
dynamic
else
extends
for
function
get
if
implements
import
in
instanceof
interface
intrinsic
new
private
public
return
set
static
switch
this
typeof
var
void
while
with
Update: As Peter Hall pointed out, I forgot about all the deprecated reserved keywords, and here they are:
add
and
eq
ge
gt
le
lt
ne
not
or





posted
by Vera (