actionscript 2 - Variable names in AS2 # -


can use # sign in as2 variable names?

like ->> var item_#_productname = "test"

i must use list of preset varilable names getting syntax error when use # sign.

any thoughts on how this?

thank you

if stuck #, can try omitting var , use:

set:

this["item_#_productname"] = "test"; 

get:

return this["item_#_productname"]; // returns "test" 

Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -