about #definings
#1

hi,

can i define integers for matching later like this? :

pawn Код:
//definings
#define MODE_TDM    0,3,6

//later i want to compare them:
if(X==MODE_TDM)
Is it possible like that, would it work? (or would it just check the "0" in the if statement and wouldnt mind the other values?)


thanks
Reply


Messages In This Thread
about #definings - by PawnoQ - 08.09.2014, 13:03
Re: about #definings - by IceCube! - 08.09.2014, 13:22
Re: about #definings - by dusk - 08.09.2014, 13:22

Forum Jump:


Users browsing this thread: 1 Guest(s)