Command Ref.
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 |
| Handle |
| Object |
| 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:
| Write |
| Text |
| LoadFont |
| SetFont |
| FreeFont |
| FontWidth |
| FontHeight |
| StringWidth |
| StringHeight |
Input:
Bank:
| CreateBank |
| FreeBank |
| BankSize |
| ResizeBank |
| CopyBank |
| PeekByte |
| PeekShort |
| PeekInt |
| PeekFloat |
| PokeByte |
| PokeShort |
| PokeInt |
| PokeFloat |
File/Stream:
Multiplayer:
| StartNetGame |
| HostNetGame |
| JoinNetGame |
| StopNetGame |
| CreateNetPlayer |
| DeleteNetPlayer |
| NetPlayerName |
| NetPlayerLocal |
| RecvNetMsg |
| NetMsgType |
| NetMsgFrom |
| NetMsgTo |
| NetMsgData |
| SetNetMsg |
Sounds/Music:
| LoadSound |
| FreeSound |
| LoopSound |
| SoundPitch |
| SoundVolume |
| SoundPan |
| PlaySound |
| PlayMusic |
| PlayCDTrack |
| StopChannel |
| PauseChannel |
| ResumeChannel |
| ChannelPitch |
| ChannelVolume |
| ChannelPan |
| ChannelPlaying |
Graphics:
Image:
Time:
| Millisecs |
| Delay |
| CurrentDate |
| CurrentTime |
| CreateTimer |
| FreeTimer |
| WaitTimer |
Windows/Debug:
| CommandLine |
| ShowPointer |
| HidePointer |
| AppTitle |
| RuntimeError |
| DebugLog |
| Stop |
| End |
Global:
| Graphics3D |
| Dither |
| WBuffer |
| AntiAlias |
| Wireframe |
| HWMultiTex |
| AmbientLight |
| ClearCollisions |
| Collisions |
| UpdateWorld |
| CaptureWorld |
| RenderWorld |
| ClearWorld |
| LoaderMatrix |
Texture:
| CreateTexture |
| LoadTexture |
| LoadAnimTexture |
| FreeTexture |
| TextureBlend |
| TextureCoords |
| ScaleTexture |
| PositionTexture |
| RotateTexture |
| TextureWidth |
| TextureHeight |
| TextureBuffer |
| ClearTextureFilters |
| TextureFilter |
Brush:
| CreateBrush |
| LoadBrush |
| FreeBrush |
| BrushColor |
| BrushAlpha |
| BrushShininess |
| BrushTexture |
| BrushBlend |
| BrushFX |
Mesh:
Surface:
Camera:
Light:
| CreateLight |
| LightRange |
| LightColor |
| LightConeAngles |
Pivot:
| CreatePivot |
Sprite:
| CreateSprite |
| LoadSprite |
| RotateSprite |
| ScaleSprite |
| HandleSprite |
| SpriteViewMode |
MD2:
| LoadMD2 |
| AnimateMD2 |
| MD2AnimTime |
| MD2AnimLength |
| MD2Animating |
Plane:
| CreatePlane |
Mirrror:
| CreateMirror |
Terrain:
| CreateTerrain |
| LoadTerrain |
| TerrainSize |
| TerrainDetail |
| TerrainShading |
| TerrainHeight |
| ModifyTerrain |
| TerrainX |
| TerrainY |
| TerrainZ |
Listener/Audio Commands:
| CreateListener |
| Load3DSound |
| EmitSound |
EntityMovement:
| ScaleEntity |
| PositionEntity |
| MoveEntity |
| TranslateEntity |
| RotateEntity |
| TurnEntity |
| PointEntity |
| AlignToVector |
Entity Animation:
| LoadAnimSeq |
| SetAnimKey |
| AddAnimSeq |
| Animate |
| AnimSeq |
| AnimLength |
| AnimTime |
| Animating |
Entity Control:
| FreeEntity |
| CopyEntity |
| EntityColor |
| EntityAlpha |
| EntityShininess |
| EntityTexture |
| EntityBlend |
| EntityFX |
| EntityAutoFade |
| PaintEntity |
| EntityOrder |
| ShowEntity |
| HideEntity |
| NameEntity |
| EntityParent |
| GetParent |
Entity State:
Entity Collision:
Graphics Mode:
| GfxModeExists |
| GfxDriver3D |
| GfxMode3D |
| Windowed3D |
.
| . |
A
| Abs |
| AcceptTCPStream |
| ACos |
| After |
| And |
| AppTitle |
| Asc |
| ASin |
| ATan |
| ATan2 |
| AutoMidHandle |
| AvailVidMem |
B
| BackBuffer |
| BankSize |
| Before |
| Bin |
C
D
| Data |
| DebugLog |
| Default |
| Delay |
| Delete |
| DeleteDir |
| DeleteFile |
| DeleteNetPlayer |
| Dim |
| 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
| Handle |
| HandleImage |
| Hex |
| HidePointer |
| 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
| Object |
| OpenFile |
| OpenTCPStream |
| Or |
| Origin |
| Oval |
P
| PauseChannel |
| PeekByte |
| PeekFloat |
| PeekInt |
| PeekShort |
| Pi |
| PlayCDTrack |
| PlayMusic |
| PlaySound |
| Plot |
| PokeByte |
| PokeFloat |
| PokeInt |
| PokeShort |
R
S
T
| Tan |
| TCPTimeouts |
| Text |
| TFormFilter |
| TFormImage |
| Then |
| TileBlock |
| TileImage |
| To |
| TotalVidMem |
| Trim |
| True |
| Type |
U
| 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 |
A
| AddAnimSeq |
| AddTriangle |
| AddVertex |
| AlignToVector |
| AmbientLight |
| Animate |
| AnimateMD2 |
| Animating |
| AnimLength |
| AnimSeq |
| AnimTime |
| AntiAlias |
B
| BrushAlpha |
| BrushBlend |
| BrushColor |
| BrushFX |
| BrushShininess |
| BrushTexture |
C
D
| Dither |
E
F
| FindChild |
| FindSurface |
| FitMesh |
| FlipMesh |
| FreeBrush |
| FreeEntity |
| FreeTexture |
G
| GetChild |
| GetEntityType |
| GetParent |
| GetSurface |
| GfxDriver3D |
| GfxMode3D |
| GfxModeExists |
| Graphics3D |
H
| HandleSprite |
| HideEntity |
| HWMultiTex |
L
| LightColor |
| LightConeAngles |
| LightMesh |
| LightRange |
| LinePick |
| Load3DSound |
| LoadAnimMesh |
| LoadAnimSeq |
| LoadAnimTexture |
| LoadBrush |
| LoaderMatrix |
| LoadMD2 |
| LoadMesh |
| LoadSprite |
| LoadTerrain |
| LoadTexture |
M
| MD2Animating |
| MD2AnimLength |
| MD2AnimTime |
| MeshesIntersect |
| MeshDepth |
| MeshHeight |
| MeshWidth |
| ModifyTerrain |
| MoveEntity |
N
| NameEntity |
P
R
| RenderWorld |
| ResetEntity |
| RotateEntity |
| RotateMesh |
| RotateSprite |
| RotateTexture |
S
| ScaleEntity |
| ScaleMesh |
| ScaleSprite |
| ScaleTexture |
| SetAnimKey |
| ShowEntity |
| SpriteViewMode |
T
U
| UpdateNormals |
| UpdateWorld |
V
| VertexBlue |
| VertexColor |
| VertexCoords |
| VertexGreen |
| VertexNormal |
| VertexNX |
| VertexNY |
| VertexNZ |
| VertexRed |
| VertexTexCoords |
| VertexU |
| VertexV |
| VertexW |
| VertexX |
| VertexY |
| VertexZ |
W
| WBuffer |
| Windowed3D |
| Wireframe |