Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BAM: download it, run it locally, store it anywhere
#3
(05-22-2023, 02:19 PM)bplus Wrote: OK I am trying this, have the HTML file in my Downloads folder and am testing a mod of New Program which already had the first line (see below).
I named "Hello 2" and it saved fine to the BAM app folder in HTML file.

but this only runs the first line and is done:
Code: (Select All)
PRINT "Hello World!"
INPUT "What is your name? ";name$
PRINT "Hello ";name$

Does BAM not have Input? but no errors are reported either.

What am I doing or thinking wrong?

Web browser pages will not accept keyboard input (or play sounds) until the page has keyboard focus.

So you have to click on the screen of the running application to give it the focus.

It is a good idea to untick the "Autostart this program" feature, which will require putting focus on the program's browser window before the program starts.

Via the Project menu, "Run-Time Properties" menu item:

   
Reply


Messages In This Thread
RE: BAM: download it, run it locally, store it anywhere - by CharlieJV - 05-22-2023, 03:10 PM



Users browsing this thread: 1 Guest(s)