DarkBASIC Professional Help Wiki
Advertisement


This command will set the cursor position used by the PRINT command.

Syntax
SET CURSOR X,Y
Parameters
X

Integer
Specify the X position value. Y Integer
Specify the Y position value.

Returns

This command does not return a value.

Description

You can use this command to place basic text anywhere on the screen. The coordinates should be integer values.

Example Code
RANDOMIZE TIMER()

DO

SET CURSOR RND(640),RND(480)

PRINT "*"

LOOP
Advertisement