Inicio
Referencia de la sintaxis de Basic256 v2.3
- Sintaxis de los programas
- Módulos
- Constantes
- Expresiones
- Variables
- Arrays
- Maps
- Operadores
- Códigos de error y de aviso de ejecución
- Opciones de la línea de comandos
- Códigos de error del compilador
- La ventana de texto: visión general
- Kit de interfaz gráfica: visión general
- Gráficos de tortuga: visión general
Instrucciones y funciones: orden alfabético
- ?
- Abs, Acos, Alert, Arc, ArrayAdd, ArrayBase, ArrayLength, Asc, Asin, Assigned, Atan
- Begin Case / Case / End Case
- Call, Ceil, Changedir, Chord, Chr, Circle, Clg, Clickb, Clickclear, Clickx, Clicky, Close, Cls, Color, Confirm, Continue Do, Continue For, Continue While, Cos, Count, Countx, Cross, Currentdir
- Day, DBClose, DBCloseSet, DBExecute, DBFloat, DBInt, DBNull, DBOpen, DBOpenSet, DBRow, DBString, Degrees, Dim, Dir, Do / Until, Dot
- EditVisible, Ellipse, Else, End, EndFunction, EndIf, EndSubroutine, EndWhile, Eof, Exists, Exit Do, Exit For, Exit While, Exp, Explode, Explodex
- FastGraphics, Fill, Permisos de archivos, Float, Floor, Font, For Each / Next, For / Next, FrameRate, Freedb, Freedbset, Freefile, Freenet, FromBinary, FromHex, FromOctal, FromRadix, Function
- GetBrushColor, GetClipboardImage, GetClipboardString, GetColor, GetPenWidth, GetSetting, GetSlice, Global, Gosub, Goto, Graphheight, Graphsize, GraphToolBarVisible, GraphVisible, Graphwidth
- Hour, Hsv
- If Then, ImageAutoCrop, ImageCentered, ImageCopy, ImageCrop, ImageDraw, ImageFlip, ImageHeight, ImageLoad, ImageNew, ImagePixel, ImageResize, ImageRotate, ImageSetPixel, ImageSmooth, ImageTransformed, ImageWidth, Imgload, Imgsave, Implode, Include, Input, Input Float, Input Integer, Input String, Instr, Instrx, Int, IsNumeric
- Key, Keypressed, Kill
- Lasterror, Lasterrorextra, Lasterrorline, Lasterrormessage, Left, Length, Line, Ljust, Locate, Log, Log10, Lower, LTrim
- MainToolBarVisible, Map, Mat, Maximize, MD5, Mid, Midx, Minute, mkdir, Month, Mouseb, Mousex, Mousey, Msec
- NetAddress, NetClose, NetConnect, NetData, NetListen, NetRead, NetWrite, Next, Noise, Norm
- Offerror, Onerror, Open, Openb, OpenFileDialog, OpenSerial, Ostype, OutputToolBarVisible, OutputVisible
- Pause, PenWidth, Pie, Pixel, Plot, Poly, PortIn, PortOut, Print, Printercancel, Printeroff, Printeron, Printerpage, Prompt, PutSlice
- Radians, Rand, Read, Readbyte, Readline, Rect, Redim, Ref, Refresh, RegexMinimal, Rem, Replace, Replacex, Reset, Return, Rgb, Right, Rjust, Round, RTrim
- SaveFileDialog, Say, Second, Seed, Seek, Serialize, SetClipboardImage, SetClipboardString, SetGraph, SetSetting, Sin, Size, Sort, Sound, SoundEnvelope, SoundFade, SoundHarmonics, SoundID, SoundLength, SoundLoad, SoundLoadRaw, SoundLoop, SoundPause, SoundPlay, SoundPlayer, SoundPlayerOff, SoundPosition, SoundSampleRate, SoundSeek, SoundState, SoundStop, SoundSystem, SoundVolume, SoundWait, SoundWaveform, Spritecollide, Spritedim, Spriteh, Spritehide, Spriteload, Spritemove, Spriteo, Spriteplace, Spritepoly, Spriter, Sprites, Spriteshow, Spriteslice, Spritetext, Spritev, Spritew, Spritex, Spritey, Sqr, Stamp, String, Subroutine, System
- Tan, Text, TextBackground, TextChar, TextCol, TextColor, TextFont, TextHeight, TextRow, TextScreen, TextWidth, Then, ThrowError, ToBinary, ToHex, ToOctal, ToRadix, Trim, Try / Catch / End Try, TypeOf
- Unassign, Unit, Unload, Unserialize, Until, Upper
- VariableWatch, Version, Volume
- WAVlength, WAVpause, WAVplay, WAVpos, WAVseek, WAVstate, WAVstop, WAVwait, While / End While, Window, Write, Writebyte, Writeline
- Year
- Zfill
Instrucciones y funciones: por grupos
Arrays y variables
ArrayAdd, ArrayBase, ArrayLength, Assigned, Dim, Fill, Map, Redim, Sort, TypeOf, Unassign, VariableWatch
Conversión de bases
FromBinary, FromHex, FromOctal, FromRadix, ToBinary, ToHex, ToOctal, ToRadix
Portapapeles
GetClipboardImage, GetClipboardString, SetClipboardImage, SetClipboardString
Base de datos (SQLite)
DBClose, DBCloseSet, DBExecute, DBFloat, DBInt, DBNull, DBOpen, DBOpenSet, DBRow, DBString. Freedb, Freedbset
Tratamiento de errores
Lasterror, Lasterrorextra, Lasterrorline, Lasterrormessage, Offerror, Onerror, ThrowError, Try / Catch / EndTry
Entrada/salida de archivos y puerto serie
Changedir, Close, Currentdir, Dir, Eof, Exists, Permisos de archivos, Freefile, Kill, mkdir, Open, Openb, OpenFileDialog, OpenSerial, Read, Readbyte, Readline, Reset, SaveFileDialog, Seek, Size, Write, Writebyte, Writeline
Gráficos
Gráficos: colores
Color, GetBrushColor, GetColor, Hsv, Rgb
Gráficos: dibujo
Arc, Chord, Circle, Ellipse, GetPenWidth, Line, PenWidth, Pie, Plot, Poly, Rect, Stamp
Gráficos: texto
Font, Text, TextHeight, TextWidth
Gráficos: control de la ventana
Clg, FastGraphics, FrameRate, Graphheight, Graphsize, Graphwidth, Refresh, Window
Gráficos: archivos de imagen
Gráficos: imágenes en memoria
ImageAutoCrop, ImageCentered, ImageCopy, ImageCrop, ImageDraw, ImageFlip, ImageHeight, ImageLoad, ImageNew, ImagePixel, ImageResize, ImageRotate, ImageSetPixel, ImageSmooth, ImageTransformed, ImageWidth, Unload
Gráficos: fragmentos
Gráficos: sprites
Spritecollide, Spritedim, Spriteh, Spritehide, Spriteload, Spritemove, Spriteo, Spritepoly, Spriteplace, Spriter, Sprites, Spriteshow, Spriteslice, Spritetext, Spritev, Spritew, Spritex, Spritey
Gráficos: otros
Gráficos: kit de interfaz gráfica
Kit de interfaz gráfica (visión general)
Gráficos: tortuga
Gráficos de tortuga (visión general)
Teclado y entrada del usuario
Alert, Confirm, Input, Input Float, Input Integer, Input String, Key, Keypressed, Prompt
Matemáticas
Abs, Acos, Asin, Atan, Ceil, Cos, Degrees, Exp, Float, Floor, Int, IsNumeric, Log, Log10, Noise, Radians, Rand, Round, Seed, Sin, Sqr, Tan
Vectores y matrices
Cross, Dot, Mat Add / Sub / Mul / Trn / Inv, Norm, Unit
Ratón
Clickb, Clickclear, Clickx, Clicky, Mouseb, Mousex, Mousey,
Comunicaciones de red
Freenet, NetAddress, NetClose, NetConnect, NetData, NetListen, NetRead, NetWrite
Entrada/salida por puertos
Impresión
Printercancel, Printeroff, Printeron, Printerpage
Control del programa
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
Manejo de cadenas
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
Ajustes (persistentes)
Sonido
Sonido: en memoria
SoundID, SoundLength, SoundLoad, SoundLoadRaw, SoundPause, SoundPlay, SoundPlayer, SoundPlayerOff, SoundPosition, SoundSeek, SoundState, SoundStop, SoundSystem, SoundVolume, SoundWait, Unload
Sonido: generación de tonos
SoundEnvelope, SoundFade, SoundHarmonics, SoundLoop, SoundSampleRate, SoundWaveform
Salida de texto
La ventana de texto (visión general)
?, Cls, Locate, Print, TextBackground, TextChar, TextCol, TextColor, TextFont, TextRow, TextScreen
Hora y fecha
Day, Hour, Minute, Month, Msec, Second, Year
Otras instrucciones y funciones
EditVisible, GraphToolBarVisible, GraphVisible, Include, MainToolbarVisible, Maximize, OutputToolBarVisible, OutputVisible, RegexMinimal, Ostype, System, Version