One of the various feature included in the bitmap2LCD GLCD toolbox is the Source code/text post-processing.
The programming tool lets you automate auto-replacement or/and auto-insertion of any text in your source code.
You can program an automation sequence of commands in a batch script, save it to the disk and define it as the current active batch.
The list of functions in the batch script makes it possible to search automatically for text strings within the code and based on the paired actions, decide whether the alternative text string shall overwrite the text string searched for, or be placed after it.
Here’s the list of the batch functions of the bitmap2LCD post-processing tool :
if not ‘text’
if line number(index)
and not ‘text’
or not ‘text
then insert (index)’text’
then overwrite (index)’text’
then remove ‘text’
then delete line
The post processing programm can be run via a the user interface, from a single button or a from a menu item.
The source file will be modified in one go quickly and efficiently, according to the batch.