pt:start [BASIC 256 - Language Documentation]

# BASIC 256 - Language Documentation

pt:start

### Topicos de sintaxe BASIC-256 0.9.6.60

- Sintaxe do programa
- Constantes numéricas
- Constantes de cadeia alfanumérica
- Variaveis
- Arrays (matrizes)
- Arrays inominados
- Operadores
- Códigos de erro

### Instruções e funções - Ordem alfabética

- Abs, Acos, Alert, Arc, Asc, Asin, Atan
- Call, Ceil, Changedir, Chord, Chr, Circle, Clickb, Clickclear, Clickx, Clicky, Clg, Close, Cls, Color, Confirm, Cos, Count, Countx, Currentdir
- Day, DBClose, DBCloseSet, DBExecute, DBFloat, DBInt, DBNull, DBOpen, DBOpenSet, DBRow, DBString, Degrees, Dir, Dim, Do / Until
- EditVisible, Else, End, EndFunction, EndIf, EndSubroutine, EndWhile, Eof, Exists, Exp, Explode, Explodex
- FastGraphics, Freedb, Freedbset, Freefile, Freenet, Float, Floor, Font, For / Next, FromBinary, FromHex, FromOctal, FromRadix, Function
- GetBrushColor, GetColor, GetPenWidth, GetSetting, GetSlice, Global, Goto, Gosub, 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, Next
- Offerror, Onerror, Open, Openb, Ostype, OutputVisible
- Pause, PenWidth, Pie, Pixel, Plot, Poly, PortIn, PortOut, Print, Prompt, PutSlice
- Radians, Rand, Read, Readbyte, Readline, Rect, Redim, Ref, Refresh, Rem, Reset, Replace, Replacex, Return, Rgb, Right
- Say, Second, Seek, SetSetting, Sin, Size, Sound, Spritecollide, Spritedim, Spriteh, Spritehide, Spriteload, Spritemove, Spriteplace, Spriteshow, Spriteslice, Spriter, Sprites, Spritev, Spritew, Spritex, Spritey, Sqr, Stamp, String, Subroutine, System
- Tan, Text, TextWidth, Then, ThrowError, ToBinary, ToHex, ToOctal, ToRadix
- Until, Upper
- Version, Volume
- WAVplay, WAVstop, WAVwait, While / End While, Write, Writebyte, Writeline
- Year

### Instruções e funções - Agrupadas

#### Arrays e Variaveis

Dim, Redim

#### Bases de Dados (SQLite)

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

#### Gestão de erros

Lasterror, Lasterrorextra, Lasterrorline, Lasterrormessage, Offerror, Onerror, ThrowError

#### Ficheiros Input/Output

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

#### Gráficos

##### Gráficos - Cores

Color, GetColor, Rgb

##### Gráficos - Desenho

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

##### Gráficos - Texto

Font, Text, TextWidth

##### Gráficos - Controlo da janela

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

##### Gráficos - Ficheiros de imagem

Imgload, Imgsave

##### Gráficos - Slices (secções)

GetSlice, PutSlice

##### Gráficos - Sprites

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

##### Gráficos - Outros

Pixel

#### Teclado

Input, Key

#### Matemática

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

#### Rato

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

#### Comunicações em rede

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

#### Portas Input/Output

PortIn, PortOut

#### Estruturas de controle

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

#### Manipulação de texto

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

#### Configurações

GetSetting, SetSetting

#### Som

Say, Sound, Volume, WAVplay, WAVstop, WAVwait

#### Edição, janela de texto

Cls, OutputVisible, Print

#### Hora e Data

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

#### Outras instruções e Funções

EditVisible, Ostype, System

### Utilidades

Stampmaker

pt/start.txt · Last modified: 2013/03/30 03:47 by m_santos