Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BAM thingies in the works
#12
(06-07-2023, 08:45 AM)mnrvovrfc Wrote:
(06-07-2023, 04:23 AM)CharlieJV Wrote: Some things need to be done to get the programming running correctly.  Compatibility problems with things BAM does not support 100% (like SLEEP with no value.)

RE: SLEEP without a value:
If INKEY$ works on this system like in QB64:

Code: (Select All)
DO : LOOP UNTIL INKEY$ = ""
DO : LOOP WHILE INKEY$ = ""

In QB64 would have to insert a _LIMIT executed by the second loop, otherwise it would hog the CPU.

That code snippet could be put inside a subprogram, and that subprogram's name used in place of "standalone" SLEEP.

EDIT: probably you mean the keypress should be retained after it's processed. That is harder to emulate, might have to depend on a variable that holds the last return from INKEY$, and make sure that it comes from what should have been "standalone" SLEEP.

Yup, for sure although I prefer this:

Code: (Select All)
HOLD$ = INPUT$(1)
Reply


Messages In This Thread
BAM thingies in the works - by CharlieJV - 06-03-2023, 03:36 AM
RE: BAM thingies in the works - by grymmjack - 06-03-2023, 10:16 PM
RE: BAM thingies in the works - by CharlieJV - 06-03-2023, 10:52 PM
RE: BAM thingies in the works - by mnrvovrfc - 06-03-2023, 10:22 PM
RE: BAM thingies in the works - by CharlieJV - 06-03-2023, 10:36 PM
RE: BAM thingies in the works - by CharlieJV - 06-06-2023, 08:47 PM
RE: BAM thingies in the works - by vince - 06-07-2023, 02:50 AM
RE: BAM thingies in the works - by CharlieJV - 06-07-2023, 04:12 AM
RE: BAM thingies in the works - by CharlieJV - 06-07-2023, 04:23 AM
RE: BAM thingies in the works - by mnrvovrfc - 06-07-2023, 08:45 AM
RE: BAM thingies in the works - by CharlieJV - 06-07-2023, 12:18 PM
RE: BAM thingies in the works - by CharlieJV - 06-07-2023, 09:12 PM
RE: BAM thingies in the works - by vince - 06-07-2023, 08:21 AM
RE: BAM thingies in the works - by bplus - 06-07-2023, 03:19 PM
RE: BAM thingies in the works - by vince - 06-07-2023, 05:28 PM
RE: BAM thingies in the works - by CharlieJV - 06-08-2023, 08:36 PM
RE: BAM thingies in the works - by CharlieJV - 06-10-2023, 11:47 PM
RE: BAM thingies in the works - by CharlieJV - 06-24-2023, 03:51 AM
RE: BAM thingies in the works - by CharlieJV - 06-24-2023, 04:07 AM
RE: BAM thingies in the works - by CharlieJV - 06-24-2023, 04:53 PM



Users browsing this thread: 1 Guest(s)