![]() |
Forum Index : Microcontroller and PC projects : mm.info commands
Author | Message | ||||
tgerbic Regular Member ![]() Joined: 25/07/2019 Location: United StatesPosts: 66 |
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 StatesPosts: 66 |
Never mind figured it out. Guess I am playing with too many languages. |
||||
Frank N. Furter Guru ![]() Joined: 28/05/2012 Location: GermanyPosts: 949 |
"mm.info$" is a string variable - Have you ever tried "PRINT mm.info$(xxxx)"? Frank |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
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. Great, nothing for me to do here ![]() 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 StatesPosts: 593 |
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 KingdomPosts: 4311 |
Cool ![]() 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 |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |