TE_getvar

Returns the value of an RTE system variable.

System Variable Functions
int TE_getvar( int var );

Inputs

varThe name of the RTE System Variable to be returned.

The TE_getvar function returns the value of an RTE System Variable.

Example

In the following example, the TE_getvar function determines the size of the terminal emulator screen.

    int height;
    int TE_HEIGHT;
    int width;
    int TE_WIDTH;
    height = TE_getvar (TE_HEIGHT); 
    width = TE_getvar (TE_WIDTH);;