Well I just learned something in the past week, when you have a 4d array, such as
s[3].[3][14][28]
and try to loop it as such
Hehe...... yeah, right there is about 10,000 mathematical operations...Code:for(a; a<3; a++) { for(b; b<3; b++) { for(c; c<14; c++) { for(d; d<28; d++) { s[a].[b][c][d].sold = false } } } }
Note to all who may be tempted, don't do this