Use of constants for version info (compiler options)

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
helpy
Enthusiast
Enthusiast
Posts: 552
Joined: Sat Jun 28, 2003 12:01 am

Use of constants for version info (compiler options)

Post by helpy »

Hello PB team,

it would be of great help, to insert any constant to the version info of the compiler options.

Suggestion for syntax: %#ConstantName

This way it would be possible to set constants #MAJOR_VERSION, #MINOR_VERSION in the source code and use %#MAJOR_VERSION and %#MINOR_VERSION as tokens in version info.

Thank you for considering this feature request,
guido
Windows 10 / Windows 7
PB Last Final / Last Beta Testing