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 : CMM2: V5.05.04RC1
Page 2 of 2 | |||||
Author | Message | ||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8592 |
RC5 now available - fixes some bugs using integer arrays with MATH commands V_PRINT, M_PRINT, SET, and SCALE http://geoffg.net/Downloads/Maximite/CMM2_Beta.zip |
||||
mkopack73 Senior Member Joined: 03/07/2020 Location: United StatesPosts: 261 |
Ok not sure if this is a bug or not - If I have the nunchuk plugged in and do a Wii classic open it works (and Vice versa). I assume this is ok since it’s the same i2C protocol and data flowing. I assume we need to query the T option to determine which was actually plugged in? I assume you also didn’t do the check internally to keep the 2 from failing if the opposite command was used because of the desire to use these commands for talking to other i2C devices? Also, I’m confused on the: on error skip N I put that before the open classic call to try to skip the 2 lines after it (a print and then the close) but it always seems to execute the print. I’m not sure what I’m doing wrong. Any chance in the future of getting an ON Error goto label. ??? (Thinking rudimentary equivalent to C++/java try/catch handling ) Edited 2020-07-20 02:00 by mkopack73 |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3018 |
On CMM2, is there a convenient way to read a file into a longstring variable? PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 5914 |
No one step method but easy enough with a few lines of code INPUT 255 bytes into a normal string and then LONGSTRING APPEND repeat until EOF reached. Jim VK7JH MMedit  MMBasic Help |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3018 |
Thank, Jim, that's just what I've been doing. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 3850 |
BUG: Still something fishy going on with * and command-line arguments Colour Maximite 2 MMBasic Version 5.05.04RC6 Copyright 2011-2020 Geoff Graham Copyright 2016-2020 Peter Mather > list "test.bas" Print Mm.CmdLine$ > *test "test" "test" > *test "testa" "testa" > *test "testab" "testab" > *test "testabc" Error: Expression syntax > *test testabc testabc > *test testabcde Error: Expression syntax I can think of no obvious reason for the "Expression syntax" errors that occur when the cmdline length reaches 9 characters. Regards, Tom Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Page 2 of 2 |
Print this page |