background image
Original Author Paul Laughton, 2011
Page 120
De Re BASIC!
DAT: The user has performed some action that has caused some JavaScript code to send data to
BASIC! by means of the datalink. The JavaScript function for sending the data is:
<script type="text/javascript">
function doDataLink(data) {
Android.dataLink(data);
}
</script>
Html.go.back
Go back one HTML screen, if possible.
Html.go.forward
Go forward one HTML screen, if possible.
Html.close
Closes the HTML engine and display.
Html.clear.cache
Clears the HTML cache.
Html.clear.history
Clears the HTML history.
Related Commands
Browse <url_sexp>
If <url_sexp> starts with "http..." then the internet site specified by <url_sexp> will be opened and
displayed.
If <url_sexp> starts with "
file:///sdcard/...
" then the file will be open be opened by the application,
ThinkFree Mobile. The file types that the free version of ThinkFree Mobile can open are ".txt, .doc, .xls,
.rtf".
If your Android device does not already have ThinkFree Mobile Viewer on it, you can find it in the apps
section of the Google Play Store. There is also a paid "pro" version that manages additional file types.
Note: You can also use the HTML commands to display (and interact with) web pages located on your
device or on the web.
Http.post <url_sexp>, <list_nexp>, <result_svar>
Execute a Post command to an Internet location.
<url_sexp> contains the url ("http://....") that will accept the Post.
<list_nexp> is a pointer to a string list which contains the Name/Value pairs needed for the Post.