kytschBASIC

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

WINDOW
TITLE (optional), ID (optional), CLASS (optional)

Creates a window on screen. If no TITLE is supplied then the window title UI will not be rendered.

Example

PALETTE ,"screen"

    BACKGROUND 0,0,0

    COLOR 0,0,0

END PALETTE

SCREEN "screen"

    WINDOW "Test", , "window"

        WINDOWBODY

            PRINT "This is a window"

        END WINDOWBODY

        WINDOWFOOTER

            PRINT "Window footer"

        END WINDOWFOOTER

    END WINDOW

END SCREEN

Output

Test
This is a window


This is a window with no title

Parameters

Parameter Required Type Description
TITLE NO string Title of the window
ID NO integer/string ID to identify the window
CLASS NO integer/string CLASS to style the window

See also