User Tools

Site Tools


querywin

Differences

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

Link to this comparison view

querywin [2006/08/29 16:08] (current)
Line 1: Line 1:
 +# $EPIC: querywin.txt,​v 1.3 2006/08/21 03:05:12 sthalik Exp $
 +======Synopsis:​======
 +$__querywin__(<​target>​) \\
 +$__querywin__(<​target>​ <server refnum>)
 +
 +======Technical:​======
 +This function returns the window owning the query target <​target>,​ or
 +"​-1"​ if there are no queries for <​target>​. An optional server refnum
 +argument may be specified in order to obtain the query window for a
 +target on a particular server.
 +
 +======Returns:​======
 +The window refnum of the window owning <​target>​ or "​-1"​ if none is found.
 +
 +======Examples:​======
 +<​file>​
 +/window refnum 2
 +/query =person
 +/eval echo $querywin(=person) ​                   /* returns 2 */
 +</​file>​
  
querywin.txt ยท Last modified: 2006/08/29 16:08 (external edit)