Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1729

BTM_Initialize and BTM_Terminate

$
0
0
When TCC starts, it looks for a TCStart.btm.
If found, it executes TCStart.btm (Initialize).

When TCC ends, it looks for a TCExit.btm.
If found, it executes TCExit.btm (Terminate).

I would like that ability with .BTM files.
Example;
Bash:
echo Before Init...
echo After Init...
echo Processing...
echo Before Exit...
echo After Exit...
quit

:BTM_Init
echo BTM_Init
Return

:BTM_Exit
echo BTM_Exit
Return

Output;
Bash:
BTM_Init
Before Init...
After Init...

Read more

Viewing all articles
Browse latest Browse all 1729

Trending Articles