Command Ref.

2D - Category
2D - A-Z

Scancodes


2D  - Category

Basic:

If
Then
Else
ElseIf
Else If
EndIf
End If
Select
Case
Default
End Select
And
Or
Not
Repeat
Until
Forever
While
Wend
For
To
Step
Next
Exit
Goto
Gosub
.
Return
Function
End Function
Const
Global
Local
Dim
Type
Field
End Type
New
Each
First
Last
Before
After
Insert
Delete
True
False
Null
Data
Read
Restore
Include

Maths:

Pi
Int
Float
Floor
Ceil
Sgn
Abs
Mod
Sqr
Sin
Cos
Tan
ASin
ACos
ATan
ATan2
Exp
Log
Log10
Xor
Shl
Shr
Sar
Rnd
Rand
SeedRnd

String:

Str
Left
Right
Mid
Replace
Instr
Upper
Lower
Trim
LSet
RSet
Chr
Asc
Len
Hex
Bin
String

Text:

Print
Write
Text
LoadFont
SetFont
FreeFont
FontWidth
FontHeight
StringWidth
StringHeight

Input:

Input
KeyDown
KeyHit
GetKey
WaitKey
FlushKeys
MoveMouse
MouseDown
MouseHit
GetMouse
WaitMouse
MouseX
MouseY
MouseZ
MouseXSpeed
MouseYSpeed
MouseZSpeed
FlushMouse
JoyType
JoyHit
GetJoy
WaitJoy
JoyX
JoyY
JoyZ
JoyXDir
JoyYDir
JoyZDir
FlushJoy

Bank:

CreateBank
FreeBank
BankSize
ResizeBank
CopyBank
PeekByte
PeekShort
PeekInt
PeekFloat
PokeByte
PokeShort
PokeInt
PokeFloat

File:

OpenFile
ReadFile
WriteFile
CloseFile
FilePos
SeekFile
ReadDir
CloseDir
NextFile
CurrentDir
ChangeDir
CreateDir
DeleteDir
FileType
FileSize
CopyFile
DeleteFile
ExecFile

File/Stream:

Eof
ReadAvail
ReadByte
ReadShort
ReadInt
ReadFloat
ReadString
ReadLine
ReadBytes
WriteByte
WriteShort
WriteInt
WriteFloat
WriteString
WriteLine
WriteBytes

Network:

CountHostIPs
HostIP
DottedIP
CopyStream

TCP (Network):

OpenTCPStream
CloseTCPStream
CreateTCPServer
AcceptTCPStream
CloseTCPServer
TCPStreamIP
TCPStreamPort
TCPTimeouts

UDP (Network):

CreateUDPStream
CloseUDPStream
SendUDPMsg
RecvUDPMsg
UDPStreamIP
UDPStreamPort
UDPMsgIP
UDPMsgPort
UDPTimeouts

DirectPlay:

StartNetGame
HostNetGame
JoinNetGame
StopNetGame
CreateNetPlayer
DeleteNetPlayer
NetPlayerName
NetPlayerLocal
RecvNetMsg
NetMsgType
NetMsgFrom
NetMsgTo
NetMsgData
SendNetMsg

Sounds/Music:

LoadSound
FreeSound
LoopSound
SoundPitch
SoundVolume
SoundPan
PlaySound
PlayMusic
PlayCDTrack
StopChannel
PauseChannel
ResumeChannel
ChannelPitch
ChannelVolume
ChannelPan
ChannelPlaying

Graphics:

Graphics
SetBuffer
FrontBuffer
BackBuffer
LoadBuffer
SaveBuffer
LockBuffer
UnlockBuffer
ReadPixel
WritePixel
ReadPixelFast
WritePixelFast
CopyPixel
CopyPixelFast
CopyRect
Viewport
Origin
Flip
VWait
Scanline
GraphicsHeight
GraphicsWidth
GraphicsDepth
GraphicsBuffer
Color
ClsColor
Cls
Plot
Line
Rect
Oval
GetColor
ColorRed
ColorGreen
ColorBlue
CountGfxModes
CountGfxDrivers
GfxDriverName
SetGfxDriver
GfxModeWidth
GfxModeHeight
GfxModeDepth
GfxModeExists
TotalVidMem
AvailVidMem

Image:

LoadImage
CopyImage
CreateImage
LoadAnimImage
FreeImage
SaveImage
GrabImage
ImageBuffer
DrawImage
DrawImageRect
DrawBlockRect
DrawBlock
TileImage
TileBlock
MaskImage
HandleImage
MidHandle
AutoMidHandle
ScaleImage
ResizeImage
RotateImage
TFormImage
TFormFilter
ImageWidth
ImageHeight
ImageXHandle
ImageYHandle
ImagesOverlap
ImagesCollide
RectsOverlap
ImageRectOverlap
ImageRectCollide

Time:

Millisecs
Delay
CurrentDate
CurrentTime
CreateTimer
FreeTimer
WaitTimer

Windows/Debug:

SystemProperty
CommandLine
ShowPointer
HidePointer
AppTitle
RuntimeError
DebugLog
Stop
End
 

2D - A-Z

.

.

A

Abs
AcceptTCPStream
ACos
After
And
AppTitle
Asc
ASin
ATan
ATan2
AutoMidHandle
AvailVidMem

B

BackBuffer
BankSize
Before
Bin

C

Case
Ceil
ChangeDir
ChannelPan
ChannelPitch
ChannelPlaying
ChannelVolume
Chr
CloseDir
CloseFile
CloseTCPServer
CloseTCPStream
CloseUDPStream
Cls
ClsColor
Color
CopyBank
ColorBlue
ColorGreen
ColorRed
CommandLine
Const
CopyFile
CopyImage
CopyPixel
CopyPixelFast
CopyRect
CopyStream
Cos
CountGfxDrivers
CountGfxModes
CountHostIPs
CreateBank
CreateDir
CreateImage
CreateNetPlayer
CreateTCPServer
CreateTimer
CreateUDPStream
CurrentDate
CurrentDir
CurrentTime

D

Data
DebugLog
Default
Delay
Delete
DeleteDir
DeleteFile
DeleteNetPlayer
Dim
DottedIP
DrawBlock
DrawBlockRect
DrawImage
DrawImageRect

E

Each
Else
Else If
ElseIf
End
End Function
End If
End Select
End Type
EndIf
Eof
ExecFile
Exit
Exp

F

False
Field
FilePos
FileSize
FileType
First
Flip
Float
Floor
FlushJoy
FlushKeys
FlushMouse
FontHeight
FontWidth
For
Forever
FreeBank
FreeFont
FreeImage
FreeSound
FreeTimer
FrontBuffer
Function

G

GetColor
GetJoy
GetKey
GetMouse
GfxDriverName
GfxModeDepth
GfxModeExists
GfxModeHeight
GfxModeWidth
Global
Gosub
Goto
GrabImage
Graphics
GraphicsBuffer
GraphicsDepth
GraphicsHeight
GraphicsWidth

H

HandleImage
Hex
HidePointer
HostIP
HostNetGame

I

If
ImageBuffer
ImageHeight
ImageRectCollide
ImageRectOverlap
ImagesCollide
ImagesOverlap
ImageWidth
ImageXHandle
ImageYHandle
Include
Input
Insert
Instr
Int

J

JoinNetGame
JoyHit
JoyType
JoyX
JoyY
JoyZ
JoyXDir
JoyYDir
JoyZDir

K

KeyDown
KeyHit

L

Last
Left
Len
Line
LoadAnimImage
LoadBuffer
LoadFont
LoadImage
LoadSound
Local
LockBuffer
Log
Log10
LoopSound
Lower
LSet

M

MaskImage
Mid
MidHandle
Millisecs
Mod
MouseDown
MouseHit
MouseX
MouseY
MouseZ
MouseXSpeed
MouseYSpeed
MouseZSpeed
MoveMouse

N

NetMsgData
NetMsgFrom
NetMsgTo
NetMsgType
NetPlayerLocal
NetPlayerName
New
Next
NextFile
Not
Null

O

OpenFile
OpenTCPStream
Or
Origin
Oval

P

PauseChannel
PeekByte
PeekFloat
PeekInt
PeekShort
Pi
PlayCDTrack
PlayMusic
PlaySound
Plot
PokeByte
PokeFloat
PokeInt
PokeShort
Print

R

Rand
Read
ReadAvail
ReadByte
ReadBytes
ReadDir
ReadFile
ReadFloat
ReadInt
ReadLine
ReadPixel
ReadPixelFast
ReadShort
ReadString
Rect
RectsOverlap
RecvNetMsg
RecvUDPMsg
Repeat
Replace
ResizeBank
ResizeImage
Restore
ResumeChannel
Return
Right
Rnd
RotateImage
RSet
RuntimeError

S

Sar
SaveBuffer
SaveImage
ScaleImage
Scanline
SeedRnd
SeekFile
Select
SendNetMsg
SendUDPMsg
SetBuffer
SetFont
SetGfxDriver
Sgn
Shl
ShowPointer
Shr
Sin
SoundPan
SoundPitch
SoundVolume
Sqr
StartNetGame
Step
Stop
StopChannel
StopNetGame
Str
String
StringHeight
StringWidth
SystemProperty

T

Tan
TCPStreamIP
TCPStreamPort
TCPTimeouts
Text
TFormFilter
TFormImage
Then
TileBlock
TileImage
To
TotalVidMem
Trim
True
Type

U

UDPMsgIP
UDPMsgPort
UDPStreamIP
UDPStreamPort
UDPTimeouts
UnlockBuffer
Until
Upper

V

Viewport
VWait

W

WaitJoy
WaitKey
WaitMouse
WaitTimer
Wend
While
Write
WriteByte
WriteBytes
WriteFile
WriteFloat
WriteInt
WriteLine
WritePixel
WritePixelFast
WriteShort
WriteString

X

Xor