#PB_Prototype for Defined()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
grabiller
Enthusiast
Enthusiast
Posts: 309
Joined: Wed Jun 01, 2011 9:38 am
Location: France - 89220 Rogny-Les-Septs-Ecluses
Contact:

#PB_Prototype for Defined()

Post by grabiller »

Hello,

When we declare a Prototype twice we get this error message:
'Structure', 'Interface' or 'Prototype' already declared

But we can't check if a Prototype has been already declared with the compiler function Defined(), as there is no #PB_Prototype type.

Could be great to have it.

Cheers,
Guy.
guy rabiller | radfac founder / ceo | raafal.org