Document Outline
- Changes in this Version
- About the Title, De Re BASIC!
- About the Cover Art
- Credits
- Technical Editor
- Getting BASIC!
- BASIC! Forum
- BASIC! Tutorial
- BASIC! Operation
- A BASIC! Program
- Command Description Syntax
- Numbers
- Strings
- Variables
- Variable Names
- Variable Types
- Scalar and Array Variables
- Scalars
- Arrays
- Array Segments
- Array Commands
- Dim Array[{, } ... ] {, Array[{, } ... ] } ...
- UnDim Array[]{, Array[] } ...
- Array.average , Array[{,}]
- Array.copy SourceArray[{,}], DestinationArray[{{-}}]
- Array.delete Array[]{, Array[]} ...
- Array.dims Source[]{, {Dims[]}{, NumDims}}
- Array.fill Array[{,}],
- Array.length , Array[{,}]
- Array.load Array[], , ...
- Array.max Array[{,}]
- Array.min , Array[{,}]
- Array.reverse Array[{,}]
- Array.search Array[{,}], , {,}
- Array.shuffle Array[{,}]}
- Array.sort Array[{,}]}
- Array.std_dev , Array[{,}]}
- Array.sum , Array[{,}]
- Array.variance , Array[{,}]
- Data Structures and Pointers in BASIC!
- What is a Pointer
- Lists
- List Commands
- List.create N|S,
- List.add {, }...
- List.add.list ,
- List.add.array , Array[{,}]
- List.replace , , |
- List.insert , , |
- List.remove ,
- List.get , ,
- List.type ,
- List.size ,
- List.clear
- List.search , value|value$, {,}
- List.toArray , Array$[] | Array[]
- Bundles
- Bundle Auto-Create
- Bundle Commands
- Bundle.create
- Bundle.put , , |
- Bundle.get , , |
- Bundle.keys ,
- Bundle.contain , ,
- Bundle.type , ,
- Bundle.remove ,
- Bundle.clear
- Stacks
- Queues
- Comments
- Expressions
- Assignment Operations
- Math Functions
- BOR(, )
- BAND(, )
- BXOR(, )
- BNOT()
- ABS()
- SGN()
- RANDOMIZE({})
- RND()
- MAX(, )
- MIN(, )
- CEIL()
- FLOOR()
- INT()
- FRAC()
- MOD(, )
- ROUND({, {, }})
- SQR()
- CBRT()
- LOG()
- LOG10()
- EXP()
- POW(, )
- HYPOT(,
- PI()
- SIN()
- COS()
- TAN()
- SINH()
- COSH()
- ASIN()
- ACOS()
- ATAN()
- ATAN2(, )
- TODEGREES()
- TORADIANS()
- VAL()
- IS_NUMBER()
- LEN()
- HEX()
- OCT()
- BIN()
- SHIFT(, )
- ASCII({, })
- UCODE({, })
- IS_IN(, {, })
- STARTS_WITH(, {, })
- ENDS_WITH(, )
- GR_COLLISION(, )
- BACKGROUND()
- Time Functions
- String Functions
- GETERROR$()
- CHR$(, ...)
- LEFT$(, )
- MID$(, {, })
- RIGHT$(, )
- REPLACE$(, , )
- TRIM$({, })
- LTRIM$({, })
- RTRIM$({, })
- WORD$(, {, })
- ENCODE$(, {}, )
- DECODE$(, {}, )
- ENCODE$(, )
- DECODE$(, )
- STR$()
- LOWER$()
- UPPER$()
- VERSION$()
- INT$()
- HEX$()
- OCT$()
- BIN$()
- USING$({} , { , }...)
- FORMAT_USING$(, { , }...)
- FORMAT$(, )
- User-Defined Functions
- Program Control Commands
- þÿ
- Debug Commands
- Fonts
- Console I/O
- Output Console
- User Input and Interaction
- Dialog.message {}, {}, {, {, {, }}}
- Dialog.select , | {,}
- Input {}, {, {}{, }}
- Inkey$
- Popup {{, }{, }{, }}
- Select , | {, {, } } {, }
- Text.input {, { } , }
- TGet , {, }
- Kb.hide
- Kb.show
- Kb.toggle
- Kb.showing
- OnKbChange:
- Kb.resume
- The Soft Keyboard and the BACK Key
- Working with Files
- File Commands
- Text File I/O
- Text.open {r|w|a}, ,
- Text.close
- Text.readln {,}...
- Text.writeln ,
- Text.eof ,
- Text.position.get ,
- Text.position.set ,
- Text.position.mark {{}{, }}
- GrabURL , {, }
- GrabFile , {, }
- Byte File I/O
- Byte.open {r|w|a}, ,
- Byte.close
- Byte.read.byte {,}...
- Byte.write.byte {{,}...{,}}
- Byte.read.number {,...}
- Byte.write.number {,}...
- Byte.read.buffer , ,
- Byte.write.buffer ,
- Byte.eof ,
- Byte.position.get ,
- Byte.position.set ,
- Byte.position.mark {{}{, }}
- Byte.truncate ,
- Byte.copy ,
- ZIP File I/O
- HTML
- TCP/IP Sockets
- FTP Client
- Bluetooth
- Communication: Phone and Text
- Time and Timers
- Clipboard
- Encryption
- Ringer
- String Operations
- Join , {, {,
- Join.all , {, {,
- Split , {, }
- Split.all , {, }
- Speech Conversion
- Information About Your Android Device
- Device Command Overview
- Phone.info |
- Screen rotation, size[], realsize[], density
- Screen.rotation
- Screen.size, size[], realsize[], density
- WiFi.info {{}{, }{, }{, }{, }}
- Running in the Background
- Miscellaneous Commands
- Headset , ,
- Notify , , ,
- Pause
- Swap |, |
- Tone , {,
- Vibrate ,}]>,
- VolKeys
- SQLITE
- Overview
- SQLITE Commands
- Sql.open ,
- Sql.close
- Sql.new_table , , C1$, C2$, ...,CN$
- Sql.drop_table ,
- Sql.insert , , C1$, V1$, C2$, V2$, ..., CN$, VN$
- Sql.query , , , {, {, } }
- Sql.query.length ,
- Sql.query.position ,
- Sql.next , {, }
- Sql.delete , {,{,} }
- Sql.update , , C1$, V1$, C2$, V2$,...,CN$, VN${: }
- Sql.exec ,
- Sql.raw_query , ,
- Graphics
- Introduction
- Graphics Setup Commands
- Gr.open {{alpha}{, red}{, green}{, blue}{, }{, }}
- Gr.color {{alpha}{, red}{, green}{, blue}{, style}{, paint}}
- Gr.set.antialias {{}{,}}
- Gr.set.stroke {{}{,}}
- Gr.orientation
- Gr.statusbar {} {, showing_lvar}
- Gr.statusbar.show
- Gr.render
- Gr.screen width, height{, density }
- Gr.scale x_factor, y_factor
- Gr.cls
- Gr.close
- Gr.front flag
- Gr.brightness
- Graphical Object Creation Commands
- Gr.point , x, y
- Gr.line , x1, y1, x2, y2
- Gr.rect , left, top, right, bottom
- Gr.oval , left, top, right, bottom
- Gr.arc , left, top, right, bottom, start_angle, sweep_angle, fill_mode
- Gr.circle , x, y, radius
- Gr.set.pixels , pixels[{,}] {,x,y}
- Gr.poly , list_pointer {,x, y}
- Groups
- Hide and Show Commands
- Touch Query Commands
- Gr.touch touched, x, y
- Gr.bounded.touch touched, left, top, right, bottom
- Gr.touch2 touched, x, y
- Gr.bounded.touch2 touched, left, top, right, bottom
- OnGrTouch:
- Gr.onGrTouch.resume
- Text Commands
- Overview
- Gr.text.align {{}{,}}
- Gr.text.bold {{}{,}}
- Gr.text.size {{}{,}}
- Gr.text.skew {{}{,}}
- Gr.text.strike {{}{,}}
- Gr.text.underline {{}{,}}
- Gr.text.setfont {{|} {, } {,}}
- Gr.text.typeface {{} {, } {,}}
- Gr.text.height {} {, } {, }
- Gr.text.width ,
- Gr.get.textbounds , left, top, right, bottom
- Gr.text.draw , , ,
- Bitmap Commands
- Overview
- Gr.bitmap.create , width, height
- Gr.bitmap.load ,
- Gr.bitmap.size , width, height
- Gr.bitmap.scale , , width, height {, }
- Gr.bitmap.delete
- Gr.bitmap.crop , , , , ,
- Gr.bitmap.save , {, }
- Gr.bitmap.draw , , x , y
- Gr.get.bmpixel , x, y, alpha, red, green, blue
- Gr.bitmap.fill , ,
- Gr.bitmap.drawinto.start
- Gr.bitmap.drawinto.end
- Paint Commands
- Rotate Commands
- Camera Commands
- Other Graphics Commands
- Gr.screen.to_bitmap
- Gr.get.pixel x, y, alpha, red, green, blue
- Gr.save {,}
- Gr.get.type ,
- Gr.get.params ,
- Gr.get.position , x, y
- Gr.move {{, dx}{, dy}}
- Gr.get.value {, , }...
- Gr.modify {, , }...
- GR_COLLISION(, )
- Gr.clip , , , , {, }
- Gr.newDL ,}]>
- Gr.getDL {, }
- Audio Interface
- SoundPool
- Introduction
- Commands
- Soundpool.open
- Soundpool.load ,
- Soundpool.unload
- Soundpool.play , , , , , ,
- Soundpool.setvolume , ,
- Soundpool.setrate ,
- Soundpool.setpriority ,
- Soundpool.pause
- Soundpool.resume
- Soundpool.stop
- Soundpool.release
- GPS
- Sensors
- System
- System Commands
- Superuser Commands
- App Commands
- App.broadcast , , , , , , ,
- App.start , , , , , , ,
- þÿ
- þÿ
- þÿ
- þÿ
- þÿ