![]() |
Forum Index : Microcontroller and PC projects : MMB4L: need examples specifying types in the non-suffix way
Author | Message | ||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
Hi folks, It occurred to me when taking the kids to school this morning that all my examples and test code for MMB4L specify types using suffix syntax, i.e. i%, f!, s$. Does anyone have / can anyone point me to some significant pieces of console-only (no hi-res graphics, no additional hardware requirements) MMBasic that use the other two type syntaxes, e.g. DIM INTEGER nbr(50) DIM name AS STRING Thanks in advance, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
Maybe FruitOfTheShed has stuff. John |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
I'm sure it does John, I was just being lazy ![]() As it happens, I have broken the alternative syntax ![]() Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
I'd done a search of files I've kept but they all seemed to break your requirements e.g. had graphics or used hardware -- hardly a shock for MMBasic & TBS. John |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
Thanks John. Wasn't there some sort of celestial calculator/clock that gets posted about occasionally, I believe Peter might even have used it for testing ... I can't find it now. Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7937 |
I've used both of those now and again, especially DIM INTEGER a,b,c,i,j,x,y That's almost a standard command for me and variants of it turn up a lot. Apart from $ I very rarely use a type suffix as I can't be bothered typing them. :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
Sounds like the one that uses triangle, circle, etc John Edited 2023-01-31 01:32 by JohnS |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |