PC Logo Wiki
Advertisement

Syntax

SETWINSIZE number number

(SETWINSIZE number number number)

Explanation

SETWINSIZE sets the size of the Graphics window. Its first input is the width of the window in screen pixels, while the second input is the window height. Use WINSIZE to retrieve the current window size.

A third optional input can be supplied to SETWINSIZE if SETWINSIZE and all its inputs are enclosed in parentheses. The third input is the number of the window as listed in the Window menu.

Example

Who can draw pictures?

? SETWINSIZE 100 \

? 60

?

Advertisement