String parsing problem
Hello!
I have ported this code from the AMXX: PHP Code:
http://i.pics.rs/vvWhg.png Instead of: PHP Code:
I do not know that is wrong with it, everything seems normal. I have tried using '\0' instead of EOS, it does not work. Can someone help me, thank you. Also, it is possible to pass ArrayList by a reference and push the resulting string into it? I am new to source pawn and programming in general. |
Re: String parsing problem
I think you don't need to pass ArrayList by reference just to push something in it because ArrayList is a child from Handle, Handle itself is like a pointer to object in memory. You work with Handle object and its data via its pointer.
So you can just pass ArrayList (and any other Handle-based thing) as value, not a reference. |
Re: String parsing problem
Code:
text[index] == ',' || text[index + 1] == EOS) && parenthesesCounter == 0 The code from fysiks doesn't appear to do what you want. |
Re: String parsing problem
Quote:
|
Re: String parsing problem
Quote:
|
Re: String parsing problem
PHP Code:
PHP Code:
|
All times are GMT -4. The time now is 09:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.