![]() |
Forum Index : Microcontroller and PC projects : Firmware Wish List
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
donmck![]() Guru ![]() Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
so it is starting to appear to be a bug, and is not an enhancement? Cheers Don... https://www.dontronics.com |
||||
seco61 Senior Member ![]() Joined: 15/06/2011 Location: AustraliaPosts: 205 |
Nope - This would be an enhancement request. The manual clearly states that MMBasic supports the "NEXT x" format only. Regards Gerard (vk3cg/vk3grs) Regards Gerard (vk3cg/vk3grs) |
||||
donmck![]() Guru ![]() Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
OK, added Wish 32: Multi-dimensional arrays, IE: "NEXT y,x" http://www.themaximitecomputer.com/wish-list-priority-level- poll/ Cheers Don... https://www.dontronics.com |
||||
sparkey![]() Senior Member ![]() Joined: 15/06/2011 Location: AustraliaPosts: 819 |
dear don still whishing for sd card format although i have not voted on thepoll since the realease of 2 point 5 technicians do it with least resistance |
||||
sparkey![]() Senior Member ![]() Joined: 15/06/2011 Location: AustraliaPosts: 819 |
in regards to wish"10" that has been for filled with "cwd$" if i am not mistaken and needs to be loaded in the autorun am i correct here...regards sparkey technicians do it with least resistance |
||||
seco61 Senior Member ![]() Joined: 15/06/2011 Location: AustraliaPosts: 205 |
OK, added Wish 32: Multi-dimensional arrays, IE: "NEXT y,x" http://www.themaximitecomputer.com/wish-list-priority-level- poll/ Cheers Don... Hi Don. This is not a request for multi-dimensional arrays - they are already there (a max of 8 dimensions). The request is for an enhancement for the NEXT command associated with the FOR loop. It is to enable nested FOR loops to have one common NEXT command. eg 10 FOR i = 1 TO 10 20 FOR j = 1 TO 10 30 PRINT i, j, i + j 40 NEXT j 50 NEXT i 60 END changes to: 10 FOR i = 1 TO 10 20 FOR j = 1 TO 10 30 PRINT i, j, i + j 40 NEXT i,j 50 END Regards Gerard (vk3cg/vk3grs) Regards Gerard (vk3cg/vk3grs) |
||||
donmck![]() Guru ![]() Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
Sorry, I misinterpreted. Thanks Gerard, have fixed the text up. Cheers Don... https://www.dontronics.com |
||||
donmck![]() Guru ![]() Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
Hi Sparkey, You don't need to re-vote necessarily, but you can. ![]() Not you, but others have requested that I add to the wish list, and some items never get a single vote. Go figure. Cheers Don... https://www.dontronics.com |
||||
donmck![]() Guru ![]() Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
Thanks Sparkey, can any verify what Sparkey has said, and I'll remove the wish. I am sure others may be covered by now also. Just to remind users, the wish list is at: http://www.themaximitecomputer.com/wish-list-priority-level- poll/ Cheers Don... https://www.dontronics.com |
||||
BobDevries![]() Senior Member ![]() Joined: 08/06/2011 Location: AustraliaPosts: 266 |
Hi Don, Yes, Sparkey is correct. wish #10 was supplied as the command CWD$ Regards, Bob Devries Dalby, QLD, Australia |
||||
donmck![]() Guru ![]() Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
Yes, Sparkey is correct. wish #10 was supplied as the command CWD$ Regards, Thanks Sparkey & Bob, deleted. Cheers Don... https://www.dontronics.com |
||||
sparkey![]() Senior Member ![]() Joined: 15/06/2011 Location: AustraliaPosts: 819 |
sorry don you must be getting so many inputs that some of the outputs have just passed by ..no pun intended..sincearly sparkey.. technicians do it with least resistance |
||||
sparkey![]() Senior Member ![]() Joined: 15/06/2011 Location: AustraliaPosts: 819 |
ok heres a question for ya all out there is a fat 16 better than a fat 32 ..does either have more quality`s than the other and if i am not mistaken yo can also get a 12 bit fat ..dont quote me on that one i guess there must also be an 8 bit fat ...regards sparkey ...ccw..appreaiacied... technicians do it with least resistance |
||||
seco61 Senior Member ![]() Joined: 15/06/2011 Location: AustraliaPosts: 205 |
For a summary of the differences between FAT 16 and FAT 32 (from a windoze perspective but still relevant) see FAT 16 vs FAT 32 Personally I prefer FAT 32..... regards Gerard (vk3cg/vk3grs) Regards Gerard (vk3cg/vk3grs) |
||||
sparkey![]() Senior Member ![]() Joined: 15/06/2011 Location: AustraliaPosts: 819 |
thanks gerard..regards sparkey...but in simplistc form what would be the diff ..ok had a read fat 32 provides much more ...i stand correctted.... technicians do it with least resistance |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3272 |
"NEXT y,x" should work. For example the following works as expected: 10 FOR i = 1 TO 4 20 FOR j = 1 TO 4 30 PRINT i * j 40 NEXT i, j But, I admit that the manual does not document it. I will fix that in the next release. Geoff Geoff Graham - http://geoffg.net |
||||
bigmik![]() Guru ![]() Joined: 20/06/2011 Location: AustraliaPosts: 2946 |
"NEXT y,x" should work. For example the following works as expected: 10 FOR i = 1 TO 4 20 FOR j = 1 TO 4 30 PRINT i * j 40 NEXT i, j But, I admit that the manual does not document it. I will fix that in the next release. Geoff It has been a while since I used nested for-next loops but shouldnt the internal loops be executed before the outer loops ? What I mean is that line 40 should read as follows: 40 NEXT j, i ie: do the J loops before the next lot of I loops otherwise the J loops wont get done till all the I's have completed. Mik Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3272 |
What I mean is that line 40 should read as follows: 40 NEXT j, i Sorry, you are quite right. It should have been NEXT j, i Geoff Geoff Graham - http://geoffg.net |
||||
n8mdl Newbie ![]() Joined: 11/08/2011 Location: United StatesPosts: 11 |
Ok, got my SM1 today (thanks Don! - oh, and the wife loved the kuala...). It does indeed support multi-dimensional arrays - and nested loops. Suppose I should probably "read" the manual as opposed to just looking at it. Geoff, awesome job with mmbasic! Gary |
||||
donmck![]() Guru ![]() Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
It does indeed support multi-dimensional arrays - and nested loops. Suppose I should probably "read" the manual as opposed to just looking at it. Geoff, awesome job with mmbasic! Gary Great Gary, I send the genuine Australian (Chinese ![]() And I'll delete the nested loops from the wish list also, as it is obviously working OK. Cheers Don... https://www.dontronics.com |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |