05-10-2023, 03:16 PM
Thanks for all the ideas.
I wanted to do something like this:
SUB ApiOne
logging "start"
...
logging "end"
END SUB
But without adding the sub names into all the code.
Thinking about some simple preprocessor that could inject the sub names automatically.
For example if we have:
logging "$SUBNAME$: start"
it would be replaced with:
logging "ApiOne: start"
Soooo, how hard is it to implement a simple preprocessor?
I wanted to do something like this:
SUB ApiOne
logging "start"
...
logging "end"
END SUB
But without adding the sub names into all the code.
Thinking about some simple preprocessor that could inject the sub names automatically.
For example if we have:
logging "$SUBNAME$: start"
it would be replaced with:
logging "ApiOne: start"
Soooo, how hard is it to implement a simple preprocessor?