A
global macro can be a useful location to store a build number that you may want to update and use with each build that is performed. The
Script.bld sample shows how to achieve this via script code. It increments a build number and stores it in a global macro called BUILD_NUM, which can be used in other project steps via %BUILD_NUM%.