# BASIC 256 - Language Documentation

ru:start

### BASIC-256 Справочник синтаксиса 0.9.6.58

- Синтаксис программы
- Числовые константы
- Строковые константы
- Переменные
- Массивы
- Безымянные массивы
- Операторы
- Коды ошибок

### Операторы и функции по алфавиту

- 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, Degrees, Dim, Do / Until

- End, Eof, Exists, Exp

- FastGraphics, Float, Floor, Font, For / Next

- GetColor, GetSetting, GetSlice, Goto, Gosub / Return, Graphheight, Graphsize, Graphwidth

- Hour

- 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, OSType

- Pause, Pixel, Plot, Poly, PortIn, PortOut, Print, PutSlice

- Radians, Rand, Read, Readline, Rect, Redim, Refresh, Rem, Replace, Replacex, Reset, 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

- Upper

- Volume

- WAVplay, WAVstop, WAVwait, While / End While, Write, Writeline

- Year

### Операторы и функции по группам

Массивы

Dim, Redim

Базы данных (SQLite)

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

Обработка ошибок

Lasterror, Lasterrorextra, Lasterrorline, Lasterrormessage, Offerror, Onerror

Файлы, ввод/вывод

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

Графика

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

Клавиатура и текст

Input, Key, Print

Математические функции

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

Работа с мышью

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

Работа с сетью

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

Управление программой

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

Работа со строками

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

Звук

Say, Sound, Volume, WAVplay, WAVstop, WAVwait

Время и дата

Day, Hour, Minute, Month, Second, Year

Дополнительные операторы и функции

GetSetting, OSType, PortIn, PortOut, SetSetting, System

#### Перевод документации:

Владимир Черный (black@altlinux.org и Сергей Ирюпин lamp@altlinux.org

ru/start.txt · Last modified: 2013/02/09 21:15 by admin