Compiler Flags in first line of program

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Motu
Enthusiast
Enthusiast
Posts: 160
Joined: Tue Oct 19, 2004 12:24 pm

Compiler Flags in first line of program

Post by Motu »

it would be sometime usefull if you could place compilerflags in top of the program, because sometimes different programm version require different compilersetting:

compilerif NeedThreadSafty = 1
#PB_Compiler_Thread = 1
compilerelse
#PB_Compiler_Thread = 0
compilerend

Sometink like this :)
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Compiler Flags in first line of program

Post by PB »

Huh? That's up to the programmer, not PureBasic.
Post Reply