Empty an array
I tried to search, but I havent found any respons to my question. I'm trying to empty an array, but I don't know how. I need to give a value, or... I don't know.
eg: PHP Code:
|
Re: Empty an array
For a string, you can do simply : g_SelectedAuthId[0] = EOS;
|
Re: Empty an array
For an entire array:
arrayset( theArray , 0 , sizeof( theArray ) ) |
Re: Empty an array
Or you can make this way too
PHP Code:
|
Re: Empty an array
PHP Code:
|
Re: Empty an array
SonicSonedit, EOS = '^0' = 0.
|
Re: Empty an array
Arkshine
EOS 3 symbols, 0 is just one :D |
Re: Empty an array
Quote:
[/thread] |
Re: Empty an array
Quote:
|
Re: Empty an array
Why create szID[]?
|
| All times are GMT -4. The time now is 04:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.