Wikia

Petit Computer Wiki

List of Commands

Comment1
578pages on
this wiki

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

A-DEdit

ACLS

APPEND string

BEEP [sound effect[, pitch[, volume[, balance] ] ] ]

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

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

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

CLS

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-HEdit

END

EXEC string

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

FOR (TO, STEP, NEXT)

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

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

GCLS [color]

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

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

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-LEdit

ICONCLR [icon position]

ICONSET icon position, icon number

IF (THEN, ELSE)

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

KEY number, string

LINPUT [string;] string variable

LIST [line number]

LIST @label

LOAD string[, display control]

LOCATE x,y

M-PEdit

NEW

ON (GOTO, GOSUB)

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

PNLTYPE panel name

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

Q-TEdit

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...]

RUN

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

STOP

SWAP variable, variable

TMREAD (string), variableH, variableM, variableS

U-ZEdit

VISIBLE console, panel, BG0, BG1, SPRITE, 256 color graphics

VSYNC frame number

WAIT frame number

otherEdit

Assignment

? (PRINT)

' (REM)

Start a Discussion Discussions about List of Commands

  • Expanding List of Commands

    4 messages
    • Be my guest! We'll need all the help we can get. What's a community driven wiki and software archive without the community? Thanks for helping!
    • Cool, thanks! I'll be working on this as soon as possible then. :D
Advertisement | Your ad here

Around Wikia's network

Random Wiki