redundant test ?
#3

pawn Код:
if (classid == 5, 6, 7, 8)
//should be
if (classid == 5 || classid 6 || classid 7|| classid 8)
or easier: an switch()
Reply


Messages In This Thread
redundant test ? - by the_driver - 25.02.2009, 18:51
Re: redundant test ? - by yom - 25.02.2009, 18:52
Re: redundant test ? - by Rks25 - 25.02.2009, 18:53
Re: redundant test ? - by the_driver - 25.02.2009, 18:59
Re: redundant test ? - by Nero_3D - 25.02.2009, 19:08
Re: redundant test ? - by Rks25 - 25.02.2009, 20:16

Forum Jump:


Users browsing this thread: 2 Guest(s)