Page 1 of 1

IDE - %Tokens in Template Files

Posted: Tue Sep 28, 2010 12:04 pm
by spikey
I'd like to be able to use % tokens in the body of template files.

For example here's my blank template for a new pbi file:

Code: Select all

; aaa functions.

;- Version Control
; 1.00.00 xxx yy/yy/yyyy Created.

;- Compiler Directives
; 1.00.00 xxx yy/yy/yyyy Created.
EnableExplicit

;- Constants
; 1.00.00 xxx yy/yy/yyyy Created.

;- Declare Procedures

;- Implementation

At the moment I have to change the 'variables' myself so xxx is my initials, yy are date fields. I also have another which adds a new version control entry when I make a change to, well - anything really.

For instance I'd like to be able to use %BUILDCOUNT from the compiler directives and also all the % tokens from the Date library which would make these templates just a little slicker.

:D