diese sind gut:

#define HEALTH skill20
#define YOU_HEALTH 0
#define ME_HEALTH 1

Verbrauch:

if (my.HEALTH == YOU_HEALTH) beep();
if (my.HEALTH == ME_HEALTH) return;

nicht verwenden ";" oder "," für #define. ok?

Last edited by oldschoolj; 09/27/07 15:03.

you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe. __________________________________ yours truly