fernando_g
Senior Member
I'm preaching to the converted, so I know everyone here is aware of the utmost importance of properly tracking software revisions.
On the source file itself, I like to add at the very top the revision level, along with the changes done on that revision. Simply done with a multi-line #REM #ENDREM.
But those remarks are not stored into the Picaxe itself. So...what is a proper way to be able to know what is stored inside a Picaxe?
On programs in which a displayed is controlled, or where there is a Sertxd somewhere, it is as simple as adding a command to display that information.
But how about on projects which do not have displays or ways of automatically outputting the information?
What is a clever way to add that info?
I've been thinking of adding a Sertxd, along the required information, on the very first lines of code for ALL programs. Pause a few seconds, then proceed to the main code.
That way, upon startup and if a terminal is attached to the Serout pin, one can read what is there.
Is there any other clever way you can think of?
On the source file itself, I like to add at the very top the revision level, along with the changes done on that revision. Simply done with a multi-line #REM #ENDREM.
But those remarks are not stored into the Picaxe itself. So...what is a proper way to be able to know what is stored inside a Picaxe?
On programs in which a displayed is controlled, or where there is a Sertxd somewhere, it is as simple as adding a command to display that information.
But how about on projects which do not have displays or ways of automatically outputting the information?
What is a clever way to add that info?
I've been thinking of adding a Sertxd, along the required information, on the very first lines of code for ALL programs. Pause a few seconds, then proceed to the main code.
That way, upon startup and if a terminal is attached to the Serout pin, one can read what is there.
Is there any other clever way you can think of?