Table of Contents

BASIC-256 Syntax Reference 2.0.99.4

Statements and Functions - Alphabetic

Statements and Functions - Grouped

Arrays and Variables

ArrayBase, ArrayLength, Assigned, Dim, Fill, Map, Redim, TypeOf, Unassign, VariableWatch

Base Conversion

FromBinary, FromHex, FromOctal, FromRadix,ToBinary, ToHex, ToOctal, ToRadix

Clipboard

GetClipboardImage, GetClipboardString, SetClipboardImage, SetClipboardString

Database (SQLite)

DBClose, DBCloseSet, DBExecute, DBFloat, DBInt, DBNull, DBOpen, DBOpenSet, DBRow, DBString. Freedb, Freedbset

Error Handling

Lasterror, Lasterrorextra, Lasterrorline, Lasterrormessage, Offerror, Onerror, OnStop, ThrowError, Try / Catch / EndTry

File and Serial Port Input/Output

Changedir, Close, Currentdir, Dir, Eof, Exists, Freefile, Kill, mkdir, Open, Openb, OpenFileDialog, OpenSerial, Read, Readbyte, Readline, Reset, rmdir, SaveFileDialog, Seek, Size, Write, Writebyte, Writeline

Graphics

Graphics - Colors

Color, GetBrushColor, GetColor, Rgb

Graphics - Drawing

Arc, Chord, Circle, GetPenWidth, Line, PenWidth, Pie, Plot, Poly, Rect, Stamp

Graphics - Text

Font, Text, TextHeight, TextWidth

Graphics - Window Control

Clg, FastGraphics, Graphheight, Graphsize, Graphwidth, Refresh

Graphics - Image Files

Imgload, Imgsave

Graphics - Images in Memory

ImageAutoCrop, ImageCentered, ImageCopy, ImageCrop, ImageDraw, ImageFlip, ImageHeight, ImageLoad, ImageNew, ImagePixel, ImageResize, ImageRotate, ImageSetPixel, ImageSmooth, ImageTransformed, ImageWidth, Unload

Graphics - Slices

GetSlice, PutSlice

Graphics - Sprites

Spritecollide, Spritedim, Spriteh, Spritehide, Spriteload, Spritemove, Spriteo, Spritepoly, Spriteplace, Spriter, Sprites, Spriteshow, Spriteslice, Spritetext, Spritev, Spritew, Spritex, Spritey

Graphics - Other

Pixel

Keyboard and User Input

Alert, Confirm, Input, Input Float, Input Integer, Input String, Key, Keypressed, Prompt

Mathematics

Abs, Acos, Asin, Atan, Ceil, Cos, Degrees, Exp, Float, Floor, Int, IsNumeric, Log, Log10, Radians, Rand, Round, Seed, Sin, Sqr, Tan

Mouse

Clickb, Clickclear, Clickx, Clicky, Mouseb, Mousex, Mousey,

Network Communications

Freenet, NetAddress, NetClose, NetConnect, NetData, NetListen, NetRead, NetWrite

Port Input/Output

PortIn, PortOut

Printing

Printercancel, Printeroff, Printeron, Printerpage

Program Control

Begin Case / Case / End Case, Call, Continue Do, Continue For, Continue While, Do / Until, End, Exit Do, Exit For, Exit While, For / Next, For Each / Next, Function, Global, Goto, Gosub, If Then, Pause, Ref, Rem, Return, Subroutine, While / End While

String Handling

Asc, Chr, Count, Countx, Explode, Explodex, Implode, Instr, Instrx, Left, Length, Ljust, Lower, LTrim, MD5, Mid, Midx, Replace, Replacex, Right, Rjust, RTrim, Serialize, String, Trim, Unserialize, Upper, Zfill

Settings (Persistent)

GetSetting, SetSetting

Sound

Say, Sound, Volume, WAVlength, WAVpause, WAVplay, WAVpos, WAVseek, WAVstate, WAVstop, WAVwait

Sound - In Memory

SoundLength, SoundLoad, SoundPause, SoundPlay, SoundPosition, SoundResume, SoundSeek, SoundState, SoundStop, SoundVolume, SoundWait, Unload

Text Output

?, Cls, Print

Time and Date

Day, Hour, Minute, Month, Msec, Second, Year

Other Statements and Functions

EditVisible, GraphToolBarVisible, GraphVisible, Include,MainToolbarVisible, OutputToolBarVisible, OutputVisible, RegexMinimal, Ostype, System, Version

Other Documentation