Recording the MyGeneration version during script execution

We will post tips and tricks not posted in our documentation to help fill the gap.

Recording the MyGeneration version during script execution

Postby mike.griffin on Wed Jan 12, 2005 6:43 pm

I have a line of code in my dOOdad templates like this:

Code: Select all
// Generated by MyGeneration Version # (<%= input.Item(\"__version\") %>)

the resulting output is
// Generated by MyGeneration Version # (1.0.0.4)

This can be nice when you upgrade to future versions MyGeneration and you want to know what version a particular file was generated with.
User avatar
mike.griffin
Site Admin
 
Posts: 3290
Joined: Sat Apr 03, 2004 6:10 am
Location: Indianapolis, IN

Return to Tips and Tricks

Who is online

Users browsing this forum: No registered users and 1 guest

cron