Global version:String =version number: 1.21"
Generally your version control software [like Subversion] will be responsible for keeping track of version numbers and making sure you have the correct version in your working copy. You will have to setup keyword substitution, and make sure your string is formatted correctly for it all to work, tho'.