Arrays
#1

Why when using a format not valid limit of an array?
Sorry for my English, unnecessarily I live in Russia and use ******;

PHP код:

new SeNT[16];//Global
public OnGameModeInit()
{
format(SeNT,512,"qwertyqwertyqwertyzxcvbbnmqwertyqwertyqwertyzxcvbbnm");
printf("%d",strlen(SeNT));
print(
SeNT);

After checking the code, We can see in the console that the value in the format of the size of the array.

I await your replys with respect, Dmitry
Reply


Messages In This Thread
Arrays - by sent161 - 29.08.2011, 22:09
Re: Arrays - by Backwardsman97 - 29.08.2011, 22:51
Re: Arrays - by PowerPC603 - 29.08.2011, 23:19
Re: Arrays - by sent161 - 29.08.2011, 23:20
Re: Arrays - by Backwardsman97 - 30.08.2011, 00:12
Re: Arrays - by Pghpunkid - 30.08.2011, 00:18
Re: Arrays - by sent161 - 30.08.2011, 13:08
Re: Arrays - by JaTochNietDan - 30.08.2011, 13:12
Re: Arrays - by sent161 - 30.08.2011, 19:47
Re: Arrays - by Pghpunkid - 31.08.2011, 09:57

Forum Jump:


Users browsing this thread: 1 Guest(s)