help on subscripts
Posted: Fri Dec 22, 2006 10:55 am
am trying to make a small simulation involving two players - one of which will be played by the computer.
Essentially, for a variable like sales commission -
Player Sales commission = his decision
Computer sales commission = computer sales commission basis a rule
Now I want to integrate both these commissions into one array titled 'commissions'
This commission will interact with a table function and an effect of commission on morale for both player and computer will be calculated
The problem I am having is that while the player's decision is an input, that of the computer would be calculated
I am hence not able to just create one subscript for both. Hope I have been able to explain this clearly.
How do I get around this?
Essentially, for a variable like sales commission -
Player Sales commission = his decision
Computer sales commission = computer sales commission basis a rule
Now I want to integrate both these commissions into one array titled 'commissions'
This commission will interact with a table function and an effect of commission on morale for both player and computer will be calculated
The problem I am having is that while the player's decision is an input, that of the computer would be calculated
I am hence not able to just create one subscript for both. Hope I have been able to explain this clearly.
How do I get around this?