It could be useful to add #PB_Macro, so that i could write things like this :Result = Defined(Nom, Type)
'Type' can be one these values :
#PB_Constant
#PB_Variable
#PB_Array
#PB_LinkedList
#PB_Structure
#PB_Interface
#PB_Macro ???????????
Code: Select all
CompilerIf Defined(ENLINK, #PB_Structure) = #False
Structure ENLINK
nmhdr.NMHDR
msg.l
wParam.l
lParam.l
chrg.CHARRANGE
EndStructure
CompilerEndIf
CompilerIf Defined(MAKELONG, #PB_Macro) = #False
Macro MAKELONG(loWord, hiWord)
( hiWord << 16 | loWord )
EndMacro
CompilerEndIf