"if not defined"
#1

pawn Код:
#if defined SOMETHING
// do smth
#endif
This check if SOMETHING is defined. Is it posible to check if SOMETHING is not defined, without using this method:
pawn Код:
#if defined SOMETHING
// smth
#else
// not defined, do smth
#endif
?
Reply
#2

pawn Код:
#if !defined SOMETHING

#endif
Reply
#3

oh thats simple, thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)