Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:13 01 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MMBasic internal editor bug.

Author Message
Paul_L
Guru

Joined: 03/03/2016
Location: United States
Posts: 769
Posted: 05:15am 27 Aug 2018
Copy link to clipboard 
Print this post

I think I found a bug.

Running MMBasic under DOS on a Windows 10 pro Dell machine with a USB keyboard the internal editor sticks a colon ":" into the code when I hit the caps lock key.

Huh?????

Paul in NY
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 06:06am 27 Aug 2018
Copy link to clipboard 
Print this post

Not just in the editor.
Repeatedly pressing CapsLock gives:
DOS MMBasic Ver 5.04.09
Copyright 2011-2018 Geoff Graham

> 80
:3038
:38333033
:33333833
:33333333
:33333333
:33333333
:


Running this program:
  Quote   DO

DO
k$ =
INKEY$
LOOP UNTIL k$ <> ""
PRINT k$, ASC(k$)
LOOP


pressing "a", "s", then CapsLock gives:
DOS MMBasic Ver 5.04.09
Copyright 2011-2018 Geoff Graham

a 97
s 115
8
0
: 58
8
0
: 58
8
0
: 58
8
0



I tried V4.0 and V4.5 with similar problems
(also Windows 10 but a HP)

JimEdited by TassyJim 2018-08-28
VK7JH
MMedit
 
Paul_L
Guru

Joined: 03/03/2016
Location: United States
Posts: 769
Posted: 09:11pm 27 Aug 2018
Copy link to clipboard 
Print this post

Thanks Jim, I thought something was wrong with my eyes. Your further confirmation is ingenious!

Paul in NY
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3292
Posted: 12:41pm 28 Aug 2018
Copy link to clipboard 
Print this post

Thanks. It is caused by some debug code that was left in. I will fix it in the next beta.

Geoff
Geoff Graham - http://geoffg.net
 
Paul_L
Guru

Joined: 03/03/2016
Location: United States
Posts: 769
Posted: 10:05pm 28 Aug 2018
Copy link to clipboard 
Print this post

Hey Geoff, note that I found it in the DOS version. It might also need the same fix in the various PIC versions. Needless to say it isn't very critical so do it after your vacation in Ireland. Have a good trip!

Paul in NY
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025