Previous Topic: &MAIDISC

Next Topic: &MAIINKEY


&MAIFRLU

Returns the direction of the last data stream.

Returns the direction of the last data stream as one of the following values:

PLU

The data stream last received was sent by the PLU, that is, the application.

SLU

The data stream last received was sent by the SLU, that is, the terminal.

Example: &MAIFRLU

&IF &MAIFRLU = SLU &THEN &GOTO .TERMINAL

Notes:

An &MAIFRLU issued when there is no data outstanding returns a null value. Data is outstanding from the time an &MAIREAD is satisfied until an &MAICONT, &MAIDEL, or another &MAIREAD is issued.

&MAIFRLU is most often used after an &MAIREAD ANY has been satisfied, so that the procedure can determine which data stream has been received.

More information:

&MAICONT

&MAIREAD

&MAIDEL