19.08.2012, 11:52
#define replaces something with something else.
So the only difference is:
would compile as
and
would compile as
Try "Show preprocessed output" in PAWN Playground
So the only difference is:
pawn Код:
#define MAX_PLAYERS GetMaxPlayers()
new Score[MAX_PLAYERS];
pawn Код:
new Score[GetMaxPlayers()];
pawn Код:
#define MAX_PLAYERS 500
new Score[MAX_PLAYERS];
pawn Код:
new Score[500];