class PCalc

Global functions provided by the PCALC application.

Global Functions

Point GetWindowPos ()Returns the current main window position.
Point GetWindowSize ()Gets the size of the main window.
ResultOut (const var)Prints the specified value as a result (green color).
SetColor (const Color)Sets the current pen color.
SetWindowPos (const Point)Moves the main window to the given position.
SetWindowSize (const Point)Sets the size of the main window.
Sleep (const int)Puts the application to sleep for the given milliseconds.
Write (const var)Prints the specified value using the current pen color.

Reference

function Point GetWindowPos ()

Returns the current main window position.


function Point GetWindowSize ()

Gets the size of the main window.


function ResultOut (const var)

Prints the specified value as a result (green color).


function SetColor (const Color)

Sets the current pen color.


function SetWindowPos (const Point)

Moves the main window to the given position.


function SetWindowSize (const Point)

Sets the size of the main window.


function Sleep (const int millisec)

Puts the application to sleep for the given milliseconds.

Call this to dedicate CPU time to other applications when your script performs CPU intensive tasks for a long period.


function Write (const var)

Prints the specified value using the current pen color.