Site Tools


geom

Differences

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

Link to this comparison view

geom [2006/08/01 03:45] (current)
Line 1: Line 1:
 +# $EPIC: geom.txt,v 1.3 2006/08/01 03:26:48 sthalik Exp $
 +======Synopsis:​======
 +$__geom__() \\ 
 +$__geom__(<​winref>​)
 +
 +======Technical:​======
 +   * In the first case, the screen of the client'​s global current window is used.
 +   * In the second case, the screen of the given window refnum is used.
 +   * In both cases, the return value is two numbers, the first is the number of columns and the second is the number of lines on the screen.
 +
 +======Practical:​======
 +This function is mostly useful by providing the screen width. ​ This
 +could be used by a script to determine how wide it should format its
 +output.
 +
 +======Returns:​======
 +<​file>​
 +X Y    "​X"​ is screen'​s column width, "​Y"​ is screen'​s line height
 +</​file>​
 +
 +======History:​======
 +This function first appeared in EPIC3pre7.
 +Support for the <​winref>​ argument first appeared in EPIC4-1.1.8.
  
geom.txt ยท Last modified: 2006/08/01 03:45 (external edit)