qdosmsq:traps:trap_3:spix

Differences

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

Link to this comparison view

qdosmsq:traps:trap_3:spix [2009/05/17 16:05]
george.gwilt created
qdosmsq:traps:trap_3:spix [2011/02/12 11:39] (current)
george.gwilt Expand on when ERR_OR will occur
Line 24: Line 24:
   * A pending newline is cancelled.   * A pending newline is cancelled.
   * If an error is returned the cursor is not moved.   * If an error is returned the cursor is not moved.
 +  * The cursor must be placed so that there is enough room in the window to print a character at the current size set by sd_setsz. Thus for the standard size, the cursor cannot be set closer than six pixels from the end of a line and no closer than ten pixels from the bottom of the window, otherwise the error ERR_OR is signalled.
 ===== Example ===== ===== Example =====
 The example below shows the use of this trap call to set the cursor inside the first character position. It is assumed that A0 contains the window'​s ID. The example below shows the use of this trap call to set the cursor inside the first character position. It is assumed that A0 contains the window'​s ID.
  • qdosmsq/traps/trap_3/spix.txt
  • Last modified: 2011/02/12 11:39
  • by george.gwilt