U_GBLCHN
WTSupported in traditional Synergy on Windows
|
WNSupported in Synergy .NET on Windows
|
USupported on UNIX
|
VSupported on OpenVMS
|
xcall U_GBLCHN(channel)
Arguments
channel
The channel to be promoted. (n)
Discussion
U_GBLCHN promotes a local channel to global status.
A global channel stays open even after the environment that opened it is exited.
If channel is local, but not local to the current environment, a fatal error occurs. If channel is already global, this subroutine is ignored.
Examples
In the following example, the variable archn is returned with the allocated channel, and the U_GBLCHN subroutine promotes the channel stored in archn to global status.
xcall u_open(archn, "i:i", "aropen") xcall u_gblchn(archn)