Why STRCMP? -
Andrew97 - 24.04.2012
(I'm A Begginer Scripter)
I'm Asking why most of people using the STRCMP and They don't use DCMD and thesse things....?
I Posted a Post before about use STRCMP they told me that STRCMP isn't good at all and DCMD and thesse things are better 100% times but when I Looked at the Posts Many people use STRCMP Why?
And Can I know The Difference between them?
Thanks.....
Re: Why STRCMP? -
Dan. - 24.04.2012
ZCMD and others are much faster, I think.
Re: Why STRCMP? -
ViniBorn - 24.04.2012
The basic difference is speed.
With so many better options (like ycmd and zcmd), there are still people who use strcmp, but I do not know why ...
Re: Why STRCMP? -
2KY - 24.04.2012
Because they're old methods. People didn't know better (the other systems hadn't been developed yet), so they used other things.. Things such as 256 cell strings were fine back when we didn't know different.
Re: Why STRCMP? -
Squirrel - 25.04.2012
Well for example I am using clean strcmp (string compile)
well strcmp is most realiable.
Why so?
Well other commands such as DCMD and ZCMD and so on showed off multiple memory crashes. This is not common problem with Pawno but there are some chances that they come.
ZCMD and so on are faster reading but as I said there can be memory problems with it. Use strcmp, that's my advice.
Re: Why STRCMP? -
Andrew97 - 25.04.2012
Good Thing, But I need another Scripter use DCMD and so..... to Reply on you ? Because I'm Begginer Scripter....
Re: Why STRCMP? -
Jonny5 - 25.04.2012
Quote:
Originally Posted by Squirrel
Well for example I am using clean strcmp (string compile)
well strcmp is most realiable.
Why so?
Well other commands such as DCMD and ZCMD and so on showed off multiple memory crashes. This is not common problem with Pawno but there are some chances that they come.
ZCMD and so on are faster reading but as I said there can be memory problems with it. Use strcmp, that's my advice.
|
I have not had this problem with YCMD
I would never advise to use strcmp over a command processor
use either YCMD and ZCMD, with SSCANF
even DCMD is old and slow!
Re: Why STRCMP? -
SuperViper - 25.04.2012
If you only need a few commands that are without parameters, I recommend using strcmp. Otherwise, use ZCMD, YCMD, or even rCMD. It takes a long time to convert your script from strcmp to a different command processer, that's one of the reasons people don't change their command processer.
Re: Why STRCMP? -
Andrew97 - 25.04.2012
But I made a Post before about this and Someone told me that Some CMDS can't be done without YCMD and ZCMD and thesse things...is this right?
Re: Why STRCMP? -
Vince - 25.04.2012
Everything that can be done in DCMD/YCMD/ZCMD can be done using conventional methods, although it will require A LOT more code and it will be harder to maintain.