User Tools

Site Tools


part_7-_a_few_useful_global_variables

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
part_7-_a_few_useful_global_variables [2007/09/10 17:21]
scarl
part_7-_a_few_useful_global_variables [2007/09/10 17:22] (current)
scarl
Line 2: Line 2:
 === Part 7: A Few Useful Global Variables and Tools === === Part 7: A Few Useful Global Variables and Tools ===
  
-===width=== - The width of the system display window.+''​width'' ​- The width of the system display window.
  
 Syntax: Syntax:
   if(width < 100)   if(width < 100)
     ...     ...
-===height=== - The height of the system window.+''​height'' ​- The height of the system window.
  
 Syntax: Syntax:
   if(height < 100)   if(height < 100)
     ...     ...
-===pixels[]===  - An array containing every pixel in the window (including gray space).+''​pixels'' ​ - An array containing every pixel in the window (including gray space).
 Syntax: Syntax:
   pixels[i];   pixels[i];
  
-===screen.width===  - The width of the monitor+''​screen.width'' ​ - The width of the monitor
  
 Syntax: Syntax:
Line 22: Line 22:
     ...     ...
  
-===screen.height===  - The height of the monitor.+''​screen.height'' ​ - The height of the monitor.
  
 Syntax: Syntax:
part_7-_a_few_useful_global_variables.txt ยท Last modified: 2007/09/10 17:22 by scarl