05-20-2005, 07:04 PM
heh I have yet another wierd idea.
that macros would act as a define as well. So I could basically do smth like this:
This would allow creating some interesting (and complex ) commands that have different behavious and so on
Of course even better would be If I could ecen test their value.
that macros would act as a define as well. So I could basically do smth like this:
Code:
#define stupid(i, m, k) _
#ifdef i : _
option1 - would evulated if I had passed i : _
#else : _
option2 - when I hadn't passed i : _
#ifdef m : _
etc...
'and I could call the thingy like this:
stupid( 1, 3, 4) 'all i , m and k would be defined
stupid( , 3, 4) 'i would be not defined
stupid( , , ) 'nothing would be defined.
This would allow creating some interesting (and complex ) commands that have different behavious and so on
Of course even better would be If I could ecen test their value.
url]http://fbide.sourceforge.net/[/url]