Introduction
Previous Topic  Next Topic 

The Telecom Engine Compiler (TCL.EXE) is a command line compiler that compiles TE source code files (.TES extension) into the TE byte-code (.TEX extension), which can then be executed by the TE Run-Time Engine.


To use the compiler it is necessary to open a command prompt (DOS box) and then to change to the directory where the source code resides.       Make sure that the directories that contain the compiler executable and any required DLLs (E.g. Telecom Engine Library DLLs) are all specified in the PATH environment variable  (Control Panel->System->Advanced->Environment Variables).


To compile a source code file, the command line format is as follows:


TCL [options] SourceFile[.TES]


For example:


TCL Mysource


If the source code file compiles sucessfully, without errors, then Mysource.TEX will be created which contains the byte-code for the program.


If any errors are encountered when compiling then these errors will be printed to the console window in RED (see below):