I have this:
In documentation note like $obj[$index] is something about members. But I need only numeric arrays for my constants.
What need I do?
StoryInit <<set $LOW_SKILL = 1>> <<set $MID_SKILL = 2>> <<set $HIGH_SKILL = 3>> <<set $SALARY[$LOW_SKILL] = 100>> <<set $SALARY[$MID_SKILL] = 200>> <<set $SALARY[$HIGH_SKILL] = 300>> Somewhere in passages: <<set $skill = $LOW_SKILL>> (or $MID_SKILL or $HIGH_SKILL) <<set $money += $SALARY[$skill]>>I have error: <<set>> bad evaluation. Cannot set property "1" of undefined.
In documentation note like $obj[$index] is something about members. But I need only numeric arrays for my constants.
What need I do?