r/Basic • u/CharlieJV13 • Jul 01 '23
BAM Language Reference
In case of interest, I've got a couple of things going on that I'm discussing in another forum as I'm doing some significant work for the next version of the documentation:
Here, keeping track of cleanup/reorg work
Discussion about creation of syntax diagrams
4
Upvotes
View all comments
Show parent comment
1
u/CharlieJV13 Jul 02 '23
I'm betting that you have not given the program input focus. (For any web page to accept keystrokes, that web page has to have input focus.)
For properly working keyboard input and for each program that expects keyboard input, go to the Project menu, click on Runtime Properties, and make sure the "Autostart this Program" property is unchecked.
If you do have that unchecked ...
Keyboard input with the traditional BASIC commands won't work with touch devices. Touch device "virtual keyboards" only get triggered to appear when the web page focus is on an HTML input element, and the HTML canvas isn't an input element.
For touchscreen devices, better to use the _PROMPT and _CONFIRM functions.
And if all of the above is "me, out to lunch", can I get you to provide a short piece of code that is not working so I can troubleshoot?