Index

## BASIC-256 Syntax Reference 0.9.6.57

- Program Syntax
- Numeric Constants
- String Constants
- Variables
- Arrays
- Anonymous Arrays
- Operators
- Error Codes

## Statements and Functions - Alphabetic

- Abs, Acos, Asc, Asin, Atan
- Ceil, Changedir, Chr, Circle, Clickb, Clickclear, Clickx, Clicky, Clg, Close, Cls, Color, Cos, Count, Countx, Currentdir
- Day, DBClose, DBCloseSet, DBExecute, DBFloat, DBInt, DBOpen, DBOpenSet, DBRow, DBString, Decimal, Degrees, Dir, Dim, Do / Until
- End, Eof, Exists, Explode, Explodex
- FastGraphics, Float, Floor, Font, For / Next
- GetColor, GetSetting, GetSlice, Goto, Gosub / Return, Graphheight, Graphsize, Graphwidth
- Hour
- Implode, Instr, Instrx, Int, If / Then, Imgload, Imgsave, Input
- Key, Kill
- Lasterror, Lasterrorextra, Lasterrorline, Lasterrormessage, Left, Length, Line, Log, Log10, Lower
- MD5, Mid, Minute, Month, Mouseb, Mousex, Mousey
- NetAddress, NetClose, NetConnect, NetData, NetListen, NetRead, NetWrite
- Offerror, Onerror, Open
- Pause, Pixel, Plot, Poly, PortIn, PortOut, Print, PutSlice
- Radians, Rand, Read, Readline, Rect, Redim, Refresh, Rem, Reset, Replace, Replacex, Rgb, Right
- Say, Second, Seek, SetSetting, Sin, Size, Sound, Spritecollide, Spritedim, Spriteh, Spritehide, Spriteload, Spritemove, Spriteplace, Spriteshow, Spriteslice, Spritev, Spritew, Spritex, Spritey, Stamp, String, System
- Tan, Text
- Upper
- Volume
- WAVplay, WAVstop, WAVwait, While / End While, Write, Writeline
- Year

## Statements and Functions - Grouped

### Arrays

Dim, Redim

### Database (SQLite)

DBClose, DBCloseSet, DBExecute, DBFloat, DBInt, DBOpen, DBOpenSet, DBRow, DBString

### Error Handling

Lasterror, Lasterrorextra, Lasterrorline, Lasterrormessage, Offerror, Onerror

### File Input/Output

Changedir, Close, Currentdir, Eof, Exists, Kill, Open, Read, Readline, Reset, Seek, Size, Write, Writeline

### Graphics

Circle, Clg, Cls, Color, FastGraphics, Font, GetColor, GetSlice, Graphheight, Graphsize, Graphwidth, Imgload, Imgsave, Line, Pixel, Plot, Poly, PutSlice, Rect, Refresh, Rgb, Spritecollide, Spritedim, Spriteh, Spritehide, Spriteload, Spritemove, Spriteplace, Spriteshow, Spriteslice, Spritev, Spritew, Spritex, Spritey, Stamp, Text

### Keyboard and Text

Input, Key, Print

### Mathematics

Abs, Acos, Asin, Atan, Ceil, Cos, Degrees, Float, Floor, Int, Log, Log10, Radians, Rand, Sin, Tan

### Mouse

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

### Network Communications

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

### Program Control

Do / Until, End, For / Next, Goto, Gosub / Return, If / Then, Pause, Rem, While / End While

### String Handling

Asc, Chr, Count, Countx, Decimal, Explode, Explodex, Implode, Instr, Instrx, Left, Length, Lower, MD5, Mid, Replace, Replacex, Right, String, Upper

### Sound

Say, Sound, Volume, WAVplay, WAVstop, WAVwait

### Time and Date

Day, Hour, Minute, Month, Second, Year

### Other Statements and Functions

Dir, GetSetting, PortIn, PortOut, SetSetting, System

## Other Documentation

- System Requirements
- Technical Information