- Joined
- Jul 17, 2011
- Messages
- 1,863
why didnt blizzard allow us to have code arrays ? ? ?
like
the only way to make a system that would require code arrays is to have a
function which takes some id as a paramater and has to do a massive if then
else block check on that id to know the right if block to execute
so.. does anyone know a good way to implement a code array i cant think of anything.
like
JASS:
code array j
j[0] = function a1
//errros!!!!!! kljlkasdjfj
the only way to make a system that would require code arrays is to have a
function which takes some id as a paramater and has to do a massive if then
else block check on that id to know the right if block to execute
so.. does anyone know a good way to implement a code array i cant think of anything.