matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11472
Posted: 08:43am 24 Mar 2021
This is great code - thanks for posting and as Jim has pointed out is very useful on the CMM2 as well as the other MMbasic variants.
If you change mm.fontwidth to a function call e.g. get.mm.fontwidth then the code could be completely general and with a few mm.device$ conditionals could fully support the CMM2 as well. This would be really appreciated.