Bypass navigation menu
RGB Classic Games
Keeping the classics alive
Currently hosting 566 great games!
Return to Chapter 2

GetView(MinX, MinY, MaxX, MaxY)

Returns the current values of the screen viewport.

Parameters

MinX - Variable to hold minimum X value
MinY - Variable to hold minimum Y value
MaxX - Variable to hold maximum X value
MaxY - Variable to hold maximum Y value

Examples

BASIC

CALL GetView(MinX%, MinY%, MaxX%, MaxY%)

PASCAL

GetView(MinX, MinY, MaxX, MaxY);