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
Post a Comment