02-22-2011, 06:48 PM
slenkar Wrote:ah const, I didnt know we had that type thanksYou can also use #define (like a C preprocessor):
Code:
#define MaxPersons 20
Code:
#define MyFunc(x, y) \
PRINT x * y + 1; \
PRINT " is the result"
MyFunc(3, 2)
Code:
PRINT 3 * 2 + 1;
PRINT " is the result"