Macro Express at the UF Smathers Libraries

Communication Area for Macro Express Unit Developers

Tuesday, October 11, 2005

> Versioning macros

Versioning is when you assign a name to a file that is updated every time you make a change. This would be helpful for macro files that you may make available to users for download.
 
An example would be if the copycat macro has been changed slightly.
The current name of the macro is copycat1.mex. The new file might be named copycat2.mex. The difference in names suggests that it is a different file. The numeric increase in the number after the name would suggest to the user that copycat 2 is the newer file.
 
If the macro changes more frequently than say once a month you might want to add another level to the version number. (i.e. copycat1-1.mex, copycat1-2.mex, copycat1-3.mex etc...)
 
contributed by Doug Smith
 
 


0 Comments:

Post a Comment

<< Home