property Command : Byte
Returns the current command.
Command returns the command identified by the ProcessChar method. Once ProcessChar identifies a complete terminal control sequence, the parser will convert the sequence into the relevant command and extract its arguments. It is at this point that the Command property will be set to the command defined by the sequence. At any other time, Command is set to zero (the eNone constant from AxMisc.pas). In other words, if ProcessChar returns pctComplete, Command will be set to the relevant command defined by the just-received sequence, and it will be reset to eNone the next time ProcessChar is called.
Command can take on any of the eXxx values defined in AxMisc.pas (such as eCUB, eVTS, etc.). Please refer to the AxMisc.pas source file for definitions of the supported commands.
In this ancestor class, the Command property always returns eNone.
See also: ProcessChar