Page 1 of 1

#PB_Macro for Defined()

Posted: Fri Mar 30, 2007 12:44 pm
by AND51
Hello!

The title already bespeaks this topic's aim:

I saw that there is no way to find out, whter a macro is already defined. For example, you can use this function to detect, wheter "Macro getArrayLength" is already created; if so, then you know that you mustn't define this macro twice. This could be useful, if you create an include you want to make public that everybody can use. Those who are using your include then don't have to edit the include for double declarations.

Posted: Fri Mar 30, 2007 2:06 pm
by Flype
hi AND51,

already requested (do a little search before posting) :wink:


http://www.purebasic.fr/english/viewtopic.php?t=21355