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.
#PB_Macro for Defined()
#PB_Macro for Defined()
PB 4.30
Code: Select all
onErrorGoto(?Fred)
hi AND51,
already requested (do a little search before posting)
http://www.purebasic.fr/english/viewtopic.php?t=21355
already requested (do a little search before posting)

http://www.purebasic.fr/english/viewtopic.php?t=21355
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer