I've been looking at the conditional compilation directives in the hopes that I would find a method to automatically increment the version/revision numbers of an application (akin to VB). I have yet to succeed. Is there a way to store a variable in the IDE or in the code, which the IDE can change at compile time? In the application, the version and revision information is stored as persistent integers, which the IDE cannot see.
-Don
Auto-Increment Version
Re: Auto-Increment Version
The only way that I can imagine to do this is to replace the compile command with one that invokes a special application to modify the source code and then, in turn, invoke the compiler.Don_Kirby wrote:Is there a way to store a variable in the IDE or in the code, which the IDE can change at compile time?
The way to replace the compile command is to place a line like that below in your User Properties file:
Code: Select all
ZBasic=d:/path/to/my-compile-command.exe
- Don Kinzer