Prev
Outline
Next
Original Author Paul Laughton, 2011
Page 10
De Re BASIC!
Input {<prompt_sexp>}, <result_var>{, {<default_exp>}{, <canceled_nvar>}} ................................. 100
Inkey$ <svar> .................................................................................................................................... 100
Popup <message_sexp> {{, <x_nexp>}{, <y_nexp>}{, <duration_lexp>}} ......................................... 101
Select <sel_nvar>, <Array$[]>|<list_nexp> {,<title_sexp> {, <message_sexp> } } {,<press_lvar> } .. 101
Text.input <svar>{, { <text_sexp>} , <title_sexp> } ........................................................................... 101
TGet <result_svar>, <prompt_sexp> {, <title_sexp>} ....................................................................... 102
Kb.hide .............................................................................................................................................. 102
Kb.show ............................................................................................................................................. 102
Kb.toggle ........................................................................................................................................... 103
Kb.showing <lvar> ............................................................................................................................. 103
OnKbChange: .................................................................................................................................... 103
Kb.resume ......................................................................................................................................... 103
The Soft Keyboard and the BACK Key ............................................................................................... 103
Working with Files..................................................................................................................................... 104
Paths Explained a beginner's guide ................................................................................................... 104
Paths in BASIC! ...................................................................................................................................... 104
Paths Outside of BASIC! ........................................................................................................................ 105
Paths and Case-sensitivity ..................................................................................................................... 105
Mark and Mark Limit ............................................................................................................................. 106
File Commands .......................................................................................................................................... 106
File.delete <lvar>, <path_sexp> ............................................................................................................ 106
File.dir <path_sexp>, Array$[] {,<dirmark_sexp>} ................................................................................ 107
File.exists <lvar>, <path_sexp> ............................................................................................................. 107
File.mkdir <path_sexp> ......................................................................................................................... 107
File.rename <old_path_sexp>, <new_path_sexp> ............................................................................... 107
File.root <svar> ..................................................................................................................................... 108
File.size <size_nvar>, <path_sexp> ....................................................................................................... 108
File.type <type_svar>, <path_sexp> ..................................................................................................... 108
Text File I/O ............................................................................................................................................... 108
Text.open {r|w|a}, <file_table_nvar>, <path_sexp> ............................................................................ 108
Text.close <file_table_nexp> ................................................................................................................ 109
Text.readln <file_table_nexp> {,<svar>}... ............................................................................................ 109