Why STRCMP?
#1

(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.....
Reply
#2

ZCMD and others are much faster, I think.
Reply
#3

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 ...
Reply
#4

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.
Reply
#5

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.
Reply
#6

Good Thing, But I need another Scripter use DCMD and so..... to Reply on you ? Because I'm Begginer Scripter....
Reply
#7

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!
Reply
#8

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.
Reply
#9

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?
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)