Difference between revisions of "SavePix"

From Wiki
Jump to: navigation, search
m
Line 1: Line 1:
 
{{command header|client}}
 
{{command header|client}}
  
{{body|savePix {X-coordinate] {Y-coordinate] [number]|The savePix command saves the pixel given by the coordinates, into the memory slot given by number. The color is also saved to #pixCol.}}
+
{{body|savePix {X-coordinate} {Y-coordinate} [number]|The savePix command saves the pixel given by the coordinates, into the memory slot given by number. The color is also saved to #pixCol.}}
  
 
=== Example ===
 
=== Example ===

Revision as of 06:03, 19 September 2005


Synopsis

savePix {X-coordinate} {Y-coordinate} [number]

Description

The savePix command saves the pixel given by the coordinates, into the memory slot given by number. The color is also saved to #pixCol.

Example

; This will save the color on the screen where your cursor is into
; the number 1 pixel slot to be used with the cmpPix command.
savePix #cursX #cursY 1

See also

Main Page Documentation