for - doesn't itter last array element
#7

For me it works with the <=

for(new skin = Skins[0], skin_index = 1; skin_index <= sizeof(Skins); skin = Skins[skin_index++])

EDIT: Oops, it does not work, forgot the debug message
This is not as comfortable as yours, but at least works:

for(new skin_index = 1; skin_index < sizeof(Skins); skin_index ++ )
printf("%d", Skins[skin_index]);
Reply


Messages In This Thread
for - doesn't itter last array element - by ziomal432 - 31.08.2010, 17:40
Re: for - doesn't itter last array element - by Mauzen - 31.08.2010, 17:47
Re: for - doesn't itter last array element - by ziomal432 - 31.08.2010, 17:50
Re: for - doesn't itter last array element - by Mauzen - 31.08.2010, 17:51
Re: for - doesn't itter last array element - by ziomal432 - 31.08.2010, 17:53
Re: for - doesn't itter last array element - by ziomal432 - 31.08.2010, 17:57
Re: for - doesn't itter last array element - by Mauzen - 31.08.2010, 18:17

Forum Jump:


Users browsing this thread: 1 Guest(s)