Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Another "feature" request
#1
heh I have yet another wierd idea.

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 Big Grin ) commands that have different behavious and so onTongue

Of course even better would be If I could ecen test their value.
url]http://fbide.sourceforge.net/[/url]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)