U_CLOSE
WSupported on Windows
|
USupported on Unix
|
VSupported on OpenVMS
|
NSupported in Synergy .NET
|
xcall U_CLOSE(close_channels[, D_PURGE, purge_channels])
or
xcall U_CLOSE(D_PURGE, purge_channels)
Arguments
close_channels
One or more channels to be closed. If there’s more than one channel, separate them with commas. (n)
D_PURGE
(optional) Purge the following channels. (n)
purge_channels
(optional) One or more channels to be purged. If there’s more than one channel, separate them with commas. (n)
Discussion
U_CLOSE closes or purges one or more channels.
If D_PURGE is not passed, all specified channels are closed.
If D_PURGE is specified, channels that follow it are purged, and if any channels precede it, they are closed.
Examples
In this example, the channel stored in chn is closed:
xcall u_close(chn)
In the following example, the channels stored in chn_1 and chn_2 are closed, and the channel stored in purchn is purged:
xcall u_close(chn_1, chn_2, D_PURGE, purchn)
In the next example, the channels stored in purchn_1 and purchn_2 are purged:
xcall u_close(D_PURGE, purchn_1, purchn_2)