Help Me Please, I Got Some Questions .
#3

Quote:
Originally Posted by _Clear_
Hello .
Im New Here And In Pawn .
* Sorry For My Weak English *
I'd Like To Ask You Some Questions :
1 . What Is This " sizeof " ?
2 . What Return Value Mean ? ( Like What The Different In " return 1; " And " return 0; "
3 . What Is This " const " And " strtok " ?
4 . What The Number In [] Mean ( Like " tmp [256] " ) And How Can I Use This ?
Thanks , Orel .
1. "Sizeof" is the length of a parameter. Eg:
pawn Код:
new name[24];
GetPlayerName(playerid, name, sizeof(name));
sizeof(name)) is same as new name[24]

2. If you use "return 0" it will stop the function and it will not continue.

For other questions, I think someone else can explain them better. I know what they mean, but I can't explain them clearly.

Hope you understood even something
Reply


Messages In This Thread
Help Me Please, I Got Some Questions . - by _Clear_ - 08.06.2010, 16:36
Re: Help Me Please, I Got Some Questions . - by Aleksandar_Zivanovci - 08.06.2010, 16:39
Re: Help Me Please, I Got Some Questions . - by Jakku - 08.06.2010, 16:51
Re: Help Me Please, I Got Some Questions . - by _Clear_ - 08.06.2010, 17:11

Forum Jump:


Users browsing this thread: 1 Guest(s)