kytschBASIC

Put down that phone!
Please view me on real computer.

WINDOW
ID, TITLE, (X1,Y1)-(X2,Y2), TYPE, SCREEN ID
Requires arcade library

Creates a window on screen.

Example

INCLUDE arcade
RGB 0,0,0
BITMAP 0,0,640,480
	RGB 255,0,0

	LINE 120,120,120,200
	LINE 180,120,180,200
	LINE 120,160,180,160

	LINE 200,160,200,165
	LINE 200,170,200,200

	LINE 230,120,230,180
	CIRCLE 230,195,10

	CIRCLE 400,180,220

	CIRCLE 425,150,40
	CIRCLE 375,150,40

	ARC 400,160,25,155,150
BITMAP CLOSE

Output

Parameters

Parameter Type Description
IDinteger/stringID to identify the window
Optional
TITLEstringTitle of the window
X1integerX1 position
Y1integerY1 position
X2integerX2 position
Y2integerY2 position
TYPEintegerType of the window
SCREEN IDinteger/stringID of the screen the window is to be attached to

See also