![]() |
![]() |
![]() |
![]() |
![]() |
The keyword is used to remove the contents of the incoming queue of the specified communication port.
Related keywords:
port_reference.clear; |
port_reference points out the port to be cleared.
the keywords all port may be used to indicate that all defined ports must be cleared (see the example 2).
The clear keyword introduces port cleansing.
Example 1:
Kapu_PCO.clear;
The port Kapu_PCO will be cleared.
all port.clear;
The incoming queues of all defined ports will be emptied.
BNF definition of clear