hBasic Manual
About the Zipped Manual
A zipped version of the hBasic Manual is also found in
the
repository. |
How to View the
Zipped Manual
First, download the manual to your PC or Android
device. Extract the zip file using a zip program or file-manager. There should be a directory called hmanual. The first page is index.html.
Reading on a
PC
To read this manual on a PC with a web browser, open
this page;
file://<your_path>hmanual/index.html inside the browser. Reading on an Android Device To read this manual on an Android device, you must open it from inside hBasic with a small program; Move the hmanual directory to inside the hBasic data/ directory,
e.g
/storage/emulated/0/Android/data/com.rfo.hbasic/rfo-basic/data/ You can do this with a capable file-manager e.g
Total-Commander.The run this program to view the manual;
html.open html.load.url "hmanual/index.html" DO DO : HTML.GET.DATALINK data$ : UNTIL data$ <> "" type$ = LEFT$(data$, 4) % get type data$ = MID$(data$,5) % get data sw.begin type$ sw.case "LNK:" % link tapped html.load.url data$ % load the new URL d_u.continue sw.case "ERR:" ? "Error "; data$ d_u.break sw.case "BAK:" % backKey 0=first page if data$="0" then d_u.break else HTML.go.back sw.break sw.end % ignore other types.. UNTIL 0 END The above is a simple viewer that uses webview to browse the manual. The program is needed because since Android 11+, outside apps are not able to view files inside another apps' scoped storage. |