TCC > Variables & Functions > Variables:
Comments (...)
_CMDPROC returns the name of the current command processor (TCC or TCCLE).
Help URL: http://jpsoft.com/help/index.htm?_cmdproc.htm