Please enable JavaScript to view this site.

ESL Documentation

DOSShell Function

Retrieve the current state of the Command Line interface.

 

DosGetError()

Parameters

None.

Returns

An integer containing the value of the current status code, which will be one of the following:

DosBusy

The Command Line Interpreter is processing a command.

DosInitial   

The Command Line Interpreter is Initializing.

DosDataRecd

There is data waiting to be processed.

DosNoData

All the data has been retrieved.

DosErrorRecd

An error has occurred.

DosIdle

The Command Line Interpreter has completed processing or Initializing and is awaiting a command.

Description

The function helps synchronise processing between the Command Line Interpreter and the ESL Application.