Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:37 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 : mm.info commands

Author Message
tgerbic
Regular Member

Joined: 25/07/2019
Location: United States
Posts: 66
Posted: 06:28am 18 Jan 2023
Copy link to clipboard 
Print this post

I was playing around with the latest MMB4L build. Unless I don't understand how it works, I cannot get it to accept the mm.info$(xxxx) commands shown in the readme. They all come back as unknown commands.  What am I doing wrong or are they not actually implimented in the latest build?  This is on Fedora 35 linux.

Thanks
 
tgerbic
Regular Member

Joined: 25/07/2019
Location: United States
Posts: 66
Posted: 06:44am 18 Jan 2023
Copy link to clipboard 
Print this post

Never mind figured it out.
Guess I am playing with too many languages.
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 949
Posted: 09:23am 18 Jan 2023
Copy link to clipboard 
Print this post

"mm.info$" is a string variable - Have you ever tried "PRINT mm.info$(xxxx)"?


Frank
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4311
Posted: 10:32am 18 Jan 2023
Copy link to clipboard 
Print this post

  tgerbic said  I was playing around with the latest MMB4L build ...

I'm gratified someone other than myself is using it. Hopefully I will have a new version coming in the next few weeks - not that it has anything particularly special in it, just a few minor additions/improvements.


  tgerbic said  ... Never mind figured it out.

Great, nothing for me to do here .


  Frank N. Furter said  "mm.info$" is a string variable ...

Strictly speaking it is an inbuilt function, if you try to assign to it then you will see it is not a variable.

Also the $ is irrelevant syntactic sugar; after the PicoMite firmware has processed MM.INFO$(...) into flash it is indistinguishable from MM.INFO(...) and the latter will be shown should you LIST the file (c.f. INC and CAT). The type returned depends on the argument (not the name of the function) and can be INTEGER, FLOAT or STRING.

Best wishes,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Quazee137

Guru

Joined: 07/08/2016
Location: United States
Posts: 593
Posted: 05:20pm 18 Jan 2023
Copy link to clipboard 
Print this post

I have been using MMB4L to do things I did a life time ago in CP/M
 and MS-Dos. Doing simple GUI using IBM850 character set in the terminal
 running MMB4L. Doing a mock up for a pico based macro keyboard using the
 LCD as changeable on the fly keys for the eight programs I use daily.

 In CP/M I had a startup menu that let me quickly select what I was doing
 and after come back to the menu.

 Later did a sound studio menu in MS-Dos. Had to switch to battery power
 during recording to a 2MB dram card being used as a Hard disk. I still
 have the hand wired prototypes. 2nd round was in Borland Pascal I used
 under CP/M.

 I've tried MMB4W with WINE but it looks and feels so different from MMB4L.
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4311
Posted: 06:52pm 18 Jan 2023
Copy link to clipboard 
Print this post

  Quazee137 said  I have been using MMB4L to do things ...


Cool .

  Quazee137 said  I've tried MMB4W with WINE but it looks and feels so different from MMB4L.


I think Peter and I had different goals for MMB4L vs. MMB4W.

I've just tested, and my development version of MMB4L works very nicely within the "Windows Subsystem for Linux" (WSL2) which is easy to configure with Windows 10 and I believe comes as standard with Windows 11. I thought this might be the case because for "kicks and giggles" over the last couple of weeks I've been developing it within a Linux Docker container running on Windows (which I believe uses WSL2 under the hood). The distinction between Linux and Windows is becoming more blurred.

Best wishes,

Tom
Edited 2023-01-19 05:00 by thwill
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
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