Site Tools


currchans

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

currchans [2006/07/11 04:57] (current)
Line 1: Line 1:
 +# $EPIC: currchans.txt,v 1.1.1.1 2006/07/11 04:57:43 jnelson Exp $
 +======Synopsis:======
 +$__currchans__([<server refnum>])
 +
 +======Technical:======
 +Returns the current channels for each window connected to <server refnum>.
 +If <server refnum> is -1, then $[[lastserver]]() is assumed.
 +
 +If no arguments are passed, all current channels are returned.
 +
 +This function returns each argument as "<server refnum> <channel>" in
 +double quotes.
 +
 +======Examples:======
 +<file>
 +eval echo $currchans(1)    /* returns "1 #epic" "1 #unix" */
 +</file>
 +(assuming there are two windows connected to server 1, with #epic in
 + one window and #unix in the other)
 +
  
currchans.txt ยท Last modified: 2006/07/11 04:57 (external edit)