- Joined
- Aug 13, 2007
- Messages
- 309
JASS:
int gf_SelectVote (int lp_optionsCount) {
int[lp_optionsCount] lv_picked; // is this possible?
// blah blah not relevant to what I'm asking code all removed
}
Can I have that integer array lv_picked sized by the int local parameter lp_optionsCount?
I have managed to size arrays before with const int globals but I'm not sure if this would work.