==== BASIC-256 Syntax Reference 2.0.99.4 ==== * [[ProgramSyntax|Program Syntax]] * [[Constants|Constants]] * [[Expressions|Expressions]] * [[Variables|Variables]] * [[Arrays|Arrays]] * [[ArrayElements|Elements]] * [[Lists|Array List - 1 and 2 Dimensional Values]] * [[Maps|Maps]] * [[MapElements|Elements]] * [[MapList|Map List - Keys and Values]] * [[Operators|Operators]] * [[errorcodes|Runtime Error and Warning Codes]] * [[CommandLine|Command Line Options]] * [[compileerrorcodes|Compiler Error Codes]] ==== Statements and Functions - Alphabetic ==== * [[print|?]] * [[Abs|Abs]], [[Acos|Acos]], [[Alert|Alert]], [[Arc|Arc]], [[arraybase|ArrayBase]], [[ArrayLength|ArrayLength]], [[Asc|Asc]], [[Asin|Asin]], [[Assigned|Assigned]], [[Atan|Atan]]\\ * [[case|Begin Case / Case / End Case]] * [[Call|Call]], [[Ceil|Ceil]], [[changedir|Changedir]], [[Chord|Chord]], [[Chr|Chr]], [[Circle|Circle]], [[Clickb|Clickb]], [[Clickclear|Clickclear]], [[Clickx|Clickx]], [[Clicky|Clicky]], [[Clg|Clg]], [[Close|Close]], [[Cls|Cls]], [[Color|Color]], [[Confirm|Confirm]], [[ContinueDo|Continue Do]], [[ContinueFor|Continue For]], [[ContinueWhile|Continue While]], [[Cos|Cos]], [[Count|Count]], [[Countx|Countx]], [[currentdir|Currentdir]]\\ * [[Day|Day]], [[DBClose|DBClose]], [[DBCloseSet|DBCloseSet]], [[DBExecute|DBExecute]], [[DBFloat|DBFloat]], [[DBInt|DBInt]], [[DBNull|DBNull]], [[DBOpen|DBOpen]], [[DBOpenSet|DBOpenSet]], [[DBRow|DBRow]], [[DBString|DBString]], [[Degrees|Degrees]], [[Dir|Dir]], [[Dim|Dim]], [[Do|Do / Until]]\\ * [[editvisible|EditVisible]], [[Else|Else]], [[End|End]], [[EndFunction|EndFunction]], [[EndIf|EndIf]], [[EndSubroutine|EndSubroutine]], [[EndWhile|EndWhile]], [[Eof|Eof]], [[Exists|Exists]], [[ExitDo|Exit Do]], [[ExitFor|Exit For]], [[ExitWhile|Exit While]], [[Exp|Exp]], [[Explode|Explode]], [[Explodex|Explodex]]\\ * [[FastGraphics|FastGraphics]], [[fill|Fill]], [[freedb|Freedb]], [[freedbset|Freedbset]], [[freefile|Freefile]], [[freenet|Freenet]], [[Float|Float]], [[Floor|Floor]], [[Font|Font]], [[For|For / Next]], [[foreach|For Each / Next]], [[FromBinary|FromBinary]], [[FromHex|FromHex]], [[FromOctal|FromOctal]], [[FromRadix|FromRadix]], [[Function|Function]]\\ * [[GetBrushColor|GetBrushColor]], [[GetClipboardImage|GetClipboardImage]], [[GetClipboardString|GetClipboardString]], [[GetColor|GetColor]], [[GetPenWidth|GetPenWidth]], [[GetSetting|GetSetting]], [[GetSlice|GetSlice]], [[Global|Global]], [[Goto|Goto]], [[Gosub|Gosub]], [[Graphheight|Graphheight]], [[Graphsize|Graphsize]], [[graphtoolbarvisible|GraphToolBarVisible]], [[graphvisible|GraphVisible]], [[Graphwidth|Graphwidth]]\\ * [[Hour|Hour]]\\ * [[Implode|Implode]], [[Include|Include]], [[Instr|Instr]], [[Instrx|Instrx]], [[Int|Int]], [[If|If Then]], [[imageautocrop|ImageAutoCrop]], [[Imagecentered|ImageCentered]], [[imagecopy |ImageCopy]], [[imagecrop|ImageCrop]], [[imagedraw|ImageDraw]], [[imageflip|ImageFlip]], [[imageheight|ImageHeight]], [[imageload|ImageLoad]], [[imagenew|ImageNew]], [[imagepixel|ImagePixel]], [[imageresize|ImageResize]], [[imagerotate|ImageRotate]], [[imagesetpixel|imageSetPixel]], [[imagesmooth|ImageSmooth]], [[imagetransformed|ImageTransformed]], [[imagewidth|ImageWidth]], [[Imgload|Imgload]], [[Imgsave|Imgsave]], [[input|Input]], [[input|Input Float]], [[input|Input Integer]], [[input|Input String]], [[IsNumeric|IsNumeric]]\\ * [[Key|Key]], [[KeyPressed|Keypressed]], [[Kill|Kill]]\\ * [[Lasterror|Lasterror]], [[Lasterrorextra|Lasterrorextra]], [[Lasterrorline|Lasterrorline]], [[Lasterrormessage|Lasterrormessage]], [[Left|Left]], [[Length|Length]], [[Line|Line]], [[Ljust|Ljust]], [[Log|Log]], [[Log10|Log10]], [[Lower|Lower]], [[LTrim|LTrim]]\\ * [[maintoolbarvisible|MainToolBarVisible]], [[Map|Map]], [[MD5|MD5]], [[Mid|Mid]], [[Midx|Midx]], [[Minute|Minute]], [[mkdir|mkdir]], [[Month|Month]], [[Mouseb|Mouseb]], [[Mousex|Mousex]], [[Mousey|Mousey]], [[Msec|Msec]]\\ * [[NetAddress|NetAddress]], [[NetClose|NetClose]], [[NetConnect|NetConnect]], [[NetData|NetData]], [[NetListen|NetListen]], [[NetRead|NetRead]], [[NetWrite|NetWrite]], [[Next|Next]]\\ * [[Offerror|Offerror]], [[Onerror|Onerror]], [[OnStop|OnStop]], [[Open|Open]], [[Open|Openb]], [[OpenSaveFileDialog|OpenFileDialog]], [[OpenSerial|OpenSerial]], [[Ostype|Ostype]],[[outputtoolbarvisible|OutputToolBarVisible]], [[outputvisible|OutputVisible]]\\ * [[Pause|Pause]], [[PenWidth|PenWidth]], [[Pie|Pie]], [[Pixel|Pixel]], [[Plot|Plot]], [[Poly|Poly]], [[PortIn|PortIn]], [[PortOut|PortOut]], [[Print|Print]], [[Printercancel|Printercancel]], [[Printeroff|Printeroff]], [[Printeron|Printeron]], [[Printerpage|Printerpage]], [[Prompt|Prompt]], [[PutSlice|PutSlice]]\\ * [[Radians|Radians]], [[Rand|Rand]], [[Read|Read]], [[readbyte|Readbyte]], [[Readline|Readline]], [[Rect|Rect]], [[Redim|Redim]], [[Ref|Ref]], [[Refresh|Refresh]], [[regexminimal|RegexMinimal]], [[Rem|Rem]], [[Reset|Reset]], [[Replace|Replace]], [[Replacex|Replacex]], [[Return|Return]], [[Rgb|Rgb]], [[Right|Right]], [[Rjust|Rjust]], [[rmdir|rmdir]], [[Round|Round]], [[RTrim|RTrim]]\\ * [[OpenSaveFileDialog|SaveFileDialog]], [[Say|Say]], [[Second|Second]], [[Seed|Seed]], [[Seek|Seek]], [[Serialize|Serialize]], [[SetClipboardImage|SetClipboardImage]], [[SetClipboardString|SetClipboardString]], [[SetSetting|SetSetting]], [[Sin|Sin]], [[Size|Size]], [[Sound|Sound]], [[soundlength|SoundLength]], [[soundload|SoundLoad]], [[soundpause|SoundPause]], [[soundplay|SoundPlay]], [[soundposition|SoundPosition]], [[soundresume|SoundResume]], [[soundseek|SoundSeek]], [[soundstate|SoundState]], [[soundstop|SoundStop]], [[soundvolume|SoundVolume]], [[soundwait|SoundWait]], [[Spritecollide|Spritecollide]], [[Spritedim|Spritedim]], [[Spriteh|Spriteh]], [[Spritehide|Spritehide]], [[Spriteload|Spriteload]], [[Spritemove|Spritemove]], [[Spriteo|Spriteo]], [[Spriteplace|Spriteplace]], [[Spritepoly|Spritepoly]], [[Spriter|Spriter]], [[Sprites|Sprites]], [[Spriteshow|Spriteshow]], [[Spriteslice|Spriteslice]], [[Spritetext|Spritetext]], [[Spritev|Spritev]], [[Spritew|Spritew]], [[Spritex|Spritex]], [[Spritey|Spritey]], [[Sqr|Sqr]], [[Stamp|Stamp]], [[String|String]], [[Subroutine|Subroutine]], [[System|System]]\\ * [[Tan|Tan]], [[Text|Text]], [[TextHeight|TextHeight]], [[TextWidth|TextWidth]], [[Then|Then]], [[ThrowError|ThrowError]], [[ToBinary|ToBinary]], [[ToHex|ToHex]], [[ToOctal|ToOctal]], [[ToRadix|ToRadix]], [[Trim|Trim]], [[Try|Try / Catch / End Try]], [[TypeOf|TypeOf]]\\ * [[Unassign|Unassign]], [[Unload|Unload]], [[Unserialize|Unserialize]], [[Until|Until]], [[Upper|Upper]]\\ * [[VariableWatch|VariableWatch]], [[Version|Version]], [[Volume|Volume]]\\ * [[wavlength|WAVlength]], [[wavpause|WAVpause]], [[WAVplay|WAVplay]], [[wavpos|WAVpos]], [[wavseek|WAVseek]], [[wavstate|WAVstate]], [[WAVstop|WAVstop]], [[wavwait|WAVwait]], [[While|While / End While]], [[Write|Write]], [[writebyte|Writebyte]], [[Writeline|Writeline]]\\ * [[Year|Year]]\\ * [[Zfill|Zfill]] ==== Statements and Functions - Grouped ==== === Arrays and Variables === [[arraybase|ArrayBase]], [[ArrayLength|ArrayLength]], [[Assigned|Assigned]], [[Dim|Dim]], [[fill|Fill]], [[Map|Map]], [[Redim|Redim]], [[TypeOf|TypeOf]], [[Unassign|Unassign]], [[VariableWatch|VariableWatch]] === Base Conversion === [[FromBinary|FromBinary]], [[FromHex|FromHex]], [[FromOctal|FromOctal]], [[FromRadix|FromRadix]],[[ToBinary|ToBinary]], [[ToHex|ToHex]], [[ToOctal|ToOctal]], [[ToRadix|ToRadix]] === Clipboard === [[GetClipboardImage|GetClipboardImage]], [[GetClipboardString|GetClipboardString]], [[SetClipboardImage|SetClipboardImage]], [[SetClipboardString|SetClipboardString]] === Database (SQLite) === [[DBClose|DBClose]], [[DBCloseSet|DBCloseSet]], [[DBExecute|DBExecute]], [[DBFloat|DBFloat]], [[DBInt|DBInt]], [[DBNull|DBNull]], [[DBOpen|DBOpen]], [[DBOpenSet|DBOpenSet]], [[DBRow|DBRow]], [[DBString|DBString]]. [[freedb|Freedb]], [[freedbset|Freedbset]] === Error Handling === [[Lasterror|Lasterror]], [[Lasterrorextra|Lasterrorextra]], [[Lasterrorline|Lasterrorline]], [[Lasterrormessage|Lasterrormessage]], [[Offerror|Offerror]], [[Onerror|Onerror]], [[OnStop|OnStop]], [[ThrowError|ThrowError]], [[Try|Try / Catch / EndTry]] === File and Serial Port Input/Output === [[changedir|Changedir]], [[Close|Close]], [[currentdir|Currentdir]], [[Dir|Dir]], [[Eof|Eof]], [[Exists|Exists]], [[Freefile|Freefile]], [[Kill|Kill]], [[mkdir|mkdir]], [[Open|Open]], [[Open|Openb]], [[OpenSaveFileDialog|OpenFileDialog]], [[OpenSerial|OpenSerial]], [[Read|Read]], [[readbyte|Readbyte]], [[Readline|Readline]], [[Reset|Reset]], [[rmdir|rmdir]], [[OpenSaveFileDialog|SaveFileDialog]], [[Seek|Seek]], [[Size|Size]], [[Write|Write]], [[writebyte|Writebyte]], [[Writeline|Writeline]] === Graphics === == Graphics - Colors == [[Color|Color]], [[GetBrushColor|GetBrushColor]], [[GetColor|GetColor]], [[Rgb|Rgb]] == Graphics - Drawing == [[Arc|Arc]], [[Chord|Chord]], [[Circle|Circle]], [[GetPenWidth|GetPenWidth]], [[Line|Line]], [[PenWidth|PenWidth]], [[Pie|Pie]], [[Plot|Plot]], [[Poly|Poly]], [[Rect|Rect]], [[Stamp|Stamp]] == Graphics - Text == [[Font|Font]], [[Text|Text]], [[TextHeight|TextHeight]], [[TextWidth|TextWidth]] == Graphics - Window Control == [[Clg|Clg]], [[FastGraphics|FastGraphics]], [[Graphheight|Graphheight]], [[Graphsize|Graphsize]], [[Graphwidth|Graphwidth]], [[Refresh|Refresh]] == Graphics - Image Files == [[Imgload|Imgload]], [[Imgsave|Imgsave]] == Graphics - Images in Memory == [[imageautocrop|ImageAutoCrop]], [[Imagecentered|ImageCentered]], [[imagecopy |ImageCopy]], [[imagecrop|ImageCrop]], [[imagedraw|ImageDraw]], [[imageflip|ImageFlip]], [[imageheight|ImageHeight]], [[imageload|ImageLoad]], [[imagenew|ImageNew]], [[imagepixel|ImagePixel]], [[imageresize|ImageResize]], [[imagerotate|ImageRotate]], [[imagesetpixel|ImageSetPixel]], [[imagesmooth|ImageSmooth]], [[imagetransformed|ImageTransformed]], [[imagewidth|ImageWidth]], [[Unload|Unload]] == Graphics - Slices == [[GetSlice|GetSlice]], [[PutSlice|PutSlice]] == Graphics - Sprites == [[Spritecollide|Spritecollide]], [[Spritedim|Spritedim]], [[Spriteh|Spriteh]], [[Spritehide|Spritehide]], [[Spriteload|Spriteload]], [[Spritemove|Spritemove]], [[Aprite0|Spriteo]], [[Spritepoly|Spritepoly]], [[Spriteplace|Spriteplace]], [[Spriter|Spriter]], [[Sprites|Sprites]], [[Spriteshow|Spriteshow]], [[Spriteslice|Spriteslice]], [[Spritetext|Spritetext]], [[Spritev|Spritev]], [[Spritew|Spritew]], [[Spritex|Spritex]], [[Spritey|Spritey]] == Graphics - Other == [[Pixel|Pixel]] === Keyboard and User Input === [[Alert|Alert]], [[Confirm|Confirm]], [[input|Input]], [[input|Input Float]], [[input|Input Integer]], [[input|Input String]], [[Key|Key]], [[KeyPressed|Keypressed]], [[Prompt|Prompt]] === Mathematics === [[Abs|Abs]], [[Acos|Acos]], [[Asin|Asin]], [[Atan|Atan]], [[Ceil|Ceil]], [[Cos|Cos]], [[Degrees|Degrees]], [[Exp|Exp]], [[Float|Float]], [[Floor|Floor]], [[Int|Int]], [[IsNumeric|IsNumeric]], [[Log|Log]], [[Log10|Log10]], [[Radians|Radians]], [[Rand|Rand]], [[Round|Round]], [[Seed|Seed]], [[Sin|Sin]], [[Sqr|Sqr]], [[Tan|Tan]] === Mouse === [[Clickb|Clickb]], [[Clickclear|Clickclear]], [[Clickx|Clickx]], [[Clicky|Clicky]], [[Mouseb|Mouseb]], [[Mousex|Mousex]], [[Mousey|Mousey]], === Network Communications === [[freenet|Freenet]], [[NetAddress|NetAddress]], [[NetClose|NetClose]], [[NetConnect|NetConnect]], [[NetData|NetData]], [[NetListen|NetListen]], [[NetRead|NetRead]], [[NetWrite|NetWrite]] === Port Input/Output === [[PortIn|PortIn]], [[PortOut|PortOut]] === Printing === [[Printercancel|Printercancel]], [[Printeroff|Printeroff]], [[Printeron|Printeron]], [[Printerpage|Printerpage]] === Program Control === [[case|Begin Case / Case / End Case]], [[Call|Call]], [[ContinueDo|Continue Do]], [[ContinueFor|Continue For]], [[ContinueWhile|Continue While]], [[Do|Do / Until]], [[End|End]], [[ExitDo|Exit Do]], [[ExitFor|Exit For]], [[ExitWhile|Exit While]], [[For|For / Next]], [[foreach|For Each / Next]], [[Function|Function]], [[Global|Global]], [[Goto|Goto]], [[Gosub|Gosub]], [[IfThen|If Then]], [[Pause|Pause]], [[Ref|Ref]], [[Rem|Rem]], [[Return|Return]], [[Subroutine|Subroutine]], [[While|While / End While]] === String Handling === [[Asc|Asc]], [[Chr|Chr]], [[Count|Count]], [[Countx|Countx]], [[Explode|Explode]], [[Explodex|Explodex]], [[Implode|Implode]], [[Instr|Instr]], [[Instrx|Instrx]], [[Left|Left]], [[Length|Length]], [[Ljust|Ljust]], [[Lower|Lower]], [[LTrim|LTrim]], [[MD5|MD5]], [[Mid|Mid]], [[Midx|Midx]], [[Replace|Replace]], [[Replacex|Replacex]], [[Right|Right]], [[Rjust|Rjust]], [[RTrim|RTrim]], [[Serialize|Serialize]], [[String|String]], [[Trim|Trim]], [[Unserialize|Unserialize]], [[Upper|Upper]], [[Zfill|Zfill]] === Settings (Persistent) === [[GetSetting|GetSetting]], [[SetSetting|SetSetting]] === Sound === [[Say|Say]], [[Sound|Sound]], [[Volume|Volume]], [[wavlength|WAVlength]], [[wavpause|WAVpause]], [[WAVplay|WAVplay]], [[wavpos|WAVpos]], [[wavseek|WAVseek]], [[wavstate|WAVstate]], [[WAVstop|WAVstop]], [[wavwait|WAVwait]] === Sound - In Memory === [[soundlength|SoundLength]], [[soundload|SoundLoad]], [[soundpause|SoundPause]], [[soundplay|SoundPlay]], [[soundposition|SoundPosition]], [[soundresume|SoundResume]], [[soundseek|SoundSeek]], [[soundstate|SoundState]], [[soundstop|SoundStop]], [[soundvolume|SoundVolume]], [[soundwait|SoundWait]], [[Unload|Unload]] === Text Output === [[Print|?]], [[Cls|Cls]], [[Print|Print]] === Time and Date === [[Day|Day]], [[Hour|Hour]], [[Minute|Minute]], [[Month|Month]], [[Msec|Msec]], [[Second|Second]], [[Year|Year]] === Other Statements and Functions === [[editvisible|EditVisible]], [[graphtoolbarvisible|GraphToolBarVisible]], [[graphvisible|GraphVisible]], [[Include|Include]],[[maintoolbarvisible|MainToolbarVisible]], [[outputtoolbarvisible|OutputToolBarVisible]], [[outputvisible|OutputVisible]], [[regexminimal|RegexMinimal]], [[Ostype|Ostype]], [[System|System]], [[Version|Version]] ==== Other Documentation ==== * [[removedfeatures|Removed Features and Statements]] * [[systemrequirements|System