Array index,first one is 0 or 1?
#5

Код:
array_name[amount]
array_name = Points to the data structure
amount = Amount of allocated cells (1 cell = 4 bytes = 32 bits)

Example:
pawn Код:
new my_arr[5];
Possibilities:
pawn Код:
my_arr[0] // First
my_arr[1] // Second
my_arr[2] // Third
my_arr[3] // Fourth
my_arr[4] // Fifth
Reply


Messages In This Thread
Array index,first one is 0 or 1? - by Tagathron - 04.11.2013, 13:01
Re: Array index,first one is 0 or 1? - by Jefff - 04.11.2013, 13:11
Re: Array index,first one is 0 or 1? - by Tagathron - 04.11.2013, 13:16
Re: Array index,first one is 0 or 1? - by Jefff - 04.11.2013, 13:18
AW: Array index,first one is 0 or 1? - by BigETI - 04.11.2013, 13:20
Re: Array index,first one is 0 or 1? - by Tagathron - 04.11.2013, 13:22
Re: Array index,first one is 0 or 1? - by newbienoob - 04.11.2013, 13:25
AW: Re: Array index,first one is 0 or 1? - by BigETI - 04.11.2013, 13:25

Forum Jump:


Users browsing this thread: 1 Guest(s)