# BASIC 256 - Language Documentation

ro:start

### BASIC-256 Referinta sintaxa 0.9.6.67

- Sintaxa programului
- Constante numerice
- Constante sir
- Variabile
- Arrays (matrici)
- Array anonime
- Operatori
- Optiuni linie de comanda
- Coduri de eroare

### Declaratii si Functii - Alfabetic

- 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
- EditVisible, End, Eof, Exists, Exp, Explode, Explodex
- FastGraphics, Float, Floor, Font, For / Next
- GetColor, GetSetting, GetSlice, Goto, Gosub / Return, Graphheight, Graphsize, GraphVisible, 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, Msec
- NetAddress, NetClose, NetConnect, NetData, NetListen, NetRead, NetWrite
- Offerror, Onerror, Open, Ostype, OutputVisible
- 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, Sqr, Stamp, String, System
- Tan, Text, TextWidth
- 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, Dir, Eof, Exists, Kill, Open, Read, Readline, Reset, Seek, Size, Write, Writeline

#### Graphics

##### Colors

Color, GetColor, Rgb

##### Drawing

Circle, Line, Plot, Poly, Rect, Stamp

##### Graphical Text

Font, Text, TextWidth

##### Graphics Window

Clg, FastGraphics, Graphheight, Graphsize, GraphVisible, Graphwidth, Refresh

##### Image Files

Imgload, Imgsave

##### Slices

GetSlice, PutSlice

##### Sprites

Spritecollide, Spritedim, Spriteh, Spritehide, Spriteload, Spritemove, Spriteplace, Spriteshow, Spriteslice, Spritev, Spritew, Spritex, Spritey

##### Other

Pixel

#### Keyboard Input

Input, Key

#### Mathematics

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

#### Mouse

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

#### Network Communications

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

#### Port Input/Output

PortIn, PortOut

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

#### Settings (Persistent)

GetSetting, SetSetting

#### Sound

Say, Sound, Volume, WAVplay, WAVstop, WAVwait

#### Text Output

Cls, OutputVisible, Print

#### Time and Date

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

#### Other Statements and Functions

EditVisible, Ostype, System

### Other Documentation

- System Requirements
- Technical Information

ro/start.txt · Last modified: 2012/04/29 02:22 by andi