Original Author Paul Laughton, 2011
Page 16
De Re BASIC!
WakeLock <code_nexp>{, <flags_nexp>} .............................................................................................. 145
WifiLock <code_nexp> .......................................................................................................................... 146
Miscellaneous Commands ........................................................................................................................ 147
Headset <state_nvar>, <type_svar>, <mic_nvar> ................................................................................ 147
Notify <title_sexp>, <subtitle_sexp>, <alert_sexp>, <wait_lexp> ........................................................ 147
Pause <ticks_nexp> ............................................................................................................................... 148
Swap <nvar_a>|<svar_a>, <nvar_b>|<svar_b> .................................................................................... 148
Tone <frequency_nexp>, <duration_nexp> {, <duration_chk_lexp} .................................................... 148
Vibrate <pattern_array[{<start>,<length>}]>,<nexp> ........................................................................... 148
VolKeys .................................................................................................................................................. 149
VolKeys.off ........................................................................................................................................ 149
VolKeys.on ......................................................................................................................................... 149
SQLITE ....................................................................................................................................................... 149
Overview ............................................................................................................................................... 149
SQLITE Commands ................................................................................................................................ 150
Sql.open <DB_pointer_nvar>, <DB_name_sexp> ............................................................................. 150
Sql.close <DB_pointer_nvar> ............................................................................................................ 150
Sql.new_table <DB_pointer_nvar>, <table_name_sexp>, C1$, C2$, ...,CN$ .................................... 150
Sql.drop_table <DB_pointer_nvar>, <table_name_sexp>................................................................ 150
Sql.insert <DB_pointer_nvar>, <table_name_sexp>, C1$, V1$, C2$, V2$, ..., CN$, VN$ ................. 150
Sql.query <cursor_nvar>, <DB_pointer_nvar>, <table_name_sexp>, <columns_sexp> {,
<where_sexp> {, <order_sexp>} } ..................................................................................................... 151
Sql.query.length <length_nvar>, <cursor_nvar> .............................................................................. 151
Sql.query.position <position_nvar>, <cursor_nvar> ......................................................................... 151
Sql.next <done_lvar>, <cursor_nvar>{, <cv_svars>} ......................................................................... 152
Sql.delete <DB_pointer_nvar>, <table_name_sexp>{,<where_sexp>{,<count_nvar>} } ................. 152
Sql.update <DB_pointer_nvar>, <table_name_sexp>, C1$, V1$, C2$, V2$,...,CN$, VN${:
<where_sexp>} .................................................................................................................................. 153
Sql.exec <DB_pointer_nvar>, <command_sexp> ............................................................................. 153
Sql.raw_query <cursor_nvar>, <DB_pointer_nvar>, <query_sexp> ................................................. 153
Graphics .................................................................................................................................................... 153
Introduction .......................................................................................................................................... 153