User:TimeWalker/Sandbox

The following is a list of built-in commands, adapted from the help file:

Graphics
BGCLIP x start point, y start point, x end point, y end point

BGCLR layer

BGCOPY layer, start point x, start point y, end point x, end point y, transfer destination x, transfer destination y

BGFILL layer, start point x, start point y, end point x, end point y, character number, palette number, horizontal rotation, vertical rotation

BGFILL layer, start point x, start point y, end point x, end point y, screen data

BGFILL layer, start point x, start point y, end point x, end point y, screen data string

CLS Clears text layer

GCLS [color] Clears graphics layer

END
Ends currently running program

RUN
Starts loaded program

Sound
BEEP sound effect, pitch, volume, balance Plays a sound

BGMCLEAR song number

BGMPLAY song number

BGMPLAY track number, song number, track volume

BGMPLAY MML string[, MML string...]

BGMPRG waveform number, A, D, S, R, waveform string

BGMSET song number, MML string[, MML string...]

BGMSETD song number, @label

BGMSETD song number, string

BGMSETV track number, variable number, value

BGMSTOP [track number[, fade time] ]

BGMVOL [track number,] volume

WAIT frame number
---Unfinished business---

A-D
ACLS

APPEND string

BGOFS layer, x, y[, interpolation time]

BGPAGE screen

BGPUT layer, x, y, character number, palette number, horizontal rotation, vertical rotation

BGPUT layer, x, y, screen data

BGPUT layer, x, y, screen data string

BGREAD (layer, x, y), CHR, PAL, H, V

BGREAD (layer, x, y), SC

BGREAD (layer, x, y), SC$

BREPEAT button ID[, start time, interval]

CHRINIT character name

CHRREAD (character name, character number), C$

CHRSET character name, character number, graphic string

CLEAR

COLINIT color bank name, color number

COLOR palette number

COLREAD (color bank name, color number), R, G, B

COLSET color bank name, color number, color data string

CONT

DATA data[, data...]

DELETE string

DIM variable(dimension 1[, dimension 2])

DTREAD (string), variableY, variableM, variableD

E-H
EXEC string

FILES [resource name[, resource name...]]

GBOX x1, y1, x2, y2[, color]

GCIRCLE x, y, radius[, color[, initial angle, final angle]]

GCOLOR color number

GCOPY [transfer page,] start point x, start point y, end point x, end point y, transfer destination x, transfer destination y, copy mode

GDRAWMD status

GLINE x1, y1, x2, y2[, color]

GOSUB @label

GOSUB string

GOTO @label

GOTO string variable

GPAGE screen[, drawing page, display screen]

GPAINT x, y[, color[, border color]]

GPSET x, y[, color]

GPRIO number

GPUTCHR x, y, character name, number, palette number, scale

I-L
ICONCLR [icon position]

ICONSET icon position, icon number

INPUT [string;] [variable[, variable...]]

KEY number, string

LINPUT [string;] string variable

LIST [line number]

LIST @label

LOAD string[, display control]

LOCATE x,y

M-P
NEW

ON (GOTO, GOSUB)

PNLSTR x coordinate, y coordinate, string[, palette number]

PNLTYPE panel name

PRINT value[; value[, value...]]

Q-T
READ variable 1[, variable 2...]

REBOOT

RECVFILE string

REM comment

RENAME string 1, string 2

RESTORE @label

RESTORE string variable

RETURN

RSORT start point, number of elements, array 1[, array 2...]

SAVE string

SENDFILE string

SORT start point, number of elements, array 1[, array 2...]

SPANGLE control number, angle[, interpolation time, change direction]

SPANIM control number, number of frames, time[, loop]

SPCHR control number, sprite character number[, palette number, horizontal rotation, vertical rotation, order of precedence]

SPCLR [control number]

SPCOL control number, x, y, w, h, scale adjustment[, group]

SPCOLVEC control number[, displacement x, displacement y]

SPHOME control number, x, y

SPOFS control number, x, y[, interpolation time]

SPPAGE screen

SPREAD (control number), X, Y[, A, S, C]

SPSCALE control number, scale[, interpolation time]

SPSET control number, sprite character number, palette number, horizontal rotation, vertical rotation, order of precedence[, width, height]

SPSETV control number, variable number, value

SWAP variable, variable

TMREAD (string), variableH, variableM, variableS

U-Z
VISIBLE console, panel, BG0, BG1, SPRITE, 256 color graphics

other
Assignment

? (PRINT)

' (REM)