- Joined
- Mar 21, 2011
- Messages
- 1,611
hi,
i'm new to structs and i wondered if there is something like a "dynamic" get-set method
or do i need to write a method for each variable?
i'm new to structs and i wondered if there is something like a "dynamic" get-set method
JASS:
struct
integer i
integer j
integer k
call func(i, 1)
call func(j, 9)
call func(k, 100)
endstruct