[Implemented] CompilerIf <constant> = Declared

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

[Implemented] CompilerIf <constant> = Declared

Post by blueznl »

... or a variation on the above...

i'm pretty sure this has been mentioned before, but couldn't find the post back...

(Implemented as 'Defined()')
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
dmoc
Enthusiast
Enthusiast
Posts: 739
Joined: Sat Apr 26, 2003 12:40 am

Post by dmoc »

We concur (in a trekky/spock style voice). Shorter version "CompilerIf <constant>" (simply *is* declared, regardless of value) or more flexible version "CompilerIf <constant> = <value>". Both syntaxes (syntax's or suntacies?) would be good :D
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

that second variation works, dmoc :-)

check out CompilerSelect...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
dmoc
Enthusiast
Enthusiast
Posts: 739
Joined: Sat Apr 26, 2003 12:40 am

Post by dmoc »

Yuk, yuk, yuk, waaaay too much coding of late :P
Post Reply