![]() |
Forum Index : Microcontroller and PC projects : WebMite V5.08 Inc Command, Error : Unknown Command
Page 1 of 2 ![]() ![]() |
|||||
Author | Message | ||||
Supertech![]() Regular Member ![]() Joined: 13/11/2016 Location: AustraliaPosts: 43 |
Hi Geoff, I posted this back in, Posted: 01:25pm 13 Nov 2024, inside topic, V6.00.00RC5 will be the release unless you tell me ortherwise Bad place to post, as it got no attention, although, thank you Phil99! Page 100 of Webmite Manual R3 belonging to Webmite V5.08 states, Quote, INC var [,increment] Increments the variable “var” by either 1 or, if specified, the value in increment. “increment” can have a negative. This is functionally the same as var = var + increment but is processed much faster End Quote Weather I try to use 'inc' (as specified in manual above) in, 1. Windows MMBasic Ver 5.05.05 Copyright 2011-2021 Geoff Graham, that is what is offered in V5.08 GWBasic DOS, 2. Live in EDIT of the online Webmite hardware, OR 3. Write 'inc' into my BAS Webmite running V5.08 ALL I get is, Error : Unknown Command, Thus it dosent exist for Webmite V5.08 as a command on page 100! Can anybody actually test this on a Webmite instead of demostrating it works fine on other hardware neither belonging to this firmware, manual or hardware! Geoff, this is also listed in my Manual errors, but in this case 'inc' Command I cannot get to function as if Indeed "It in fact is not in V5.08 altogether"? It would be nice to have it working. Thanks. |
||||
disco4now![]() Guru ![]() Joined: 18/12/2014 Location: AustraliaPosts: 1000 |
WebMite MMBasic Version 5.08.00RC3 Not the release but RC3 seems OK > WebMite MMBasic Version 5.08.00RC3 Copyright 2011-2024 Geoff Graham Copyright 2016-2024 Peter Mather > a=1 > > inc a > > ? a 2 > > inc a,4 > > ? a 6 > Latest F4 Latest H7 FotS |
||||
Martin H.![]() Guru ![]() Joined: 04/06/2022 Location: GermanyPosts: 1220 |
Here is a small example that is using INC cls rgb(white) FOR I=0 TO 63 FOR J=43 TO 0 STEP -1 X=(I-52)/31:Y=(J-22)/31 XA=0:YA=0:ITER=0 do XTEMP=XA*XA-YA*YA+X YA=2*XA*YA+Y:XA=XTEMP INC ITER loop while (XA*XA+YA*YA<=4 AND ITER<200) IF ITER=200 THEN BOX I*4,J*4,4,4,,0,0 NEXT J NEXT I 'no comment |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6269 |
> OPTION LIST WebMite MMBasic Version 5.08.00 > LIST ALL ' Option EXPLICIT Option DEFAULT integer Dim a a = 1 Print a Inc a Print a Inc a,2 Print a Inc a,-2 Print a > RUN 1 2 4 2 > Show some code that fails. Jim VK7JH MMedit |
||||
Supertech![]() Regular Member ![]() Joined: 13/11/2016 Location: AustraliaPosts: 43 |
Thank you all. Jim, thanks, however maybe you have highlighted the very issue. Unfortunately you havnt specifed what version platform you ran this simple example IN? If I paste your text exact example, in your V5.2.9 editor, ensure Webmite Syntax (Just in case) and "run in Dos", This is exact pasted result, Clear as day. HOWEVER, if I, "Load file and run it", thus sent to actual Webmite, I'm guessing issue here is old, wrong verson of Geoff GWbasic being MMBasic Ver 5.05.05 which no doubt does NOT have the "inc" command implimented in it? If so, this is where this issue lies. Why triped me up? I write some of my procedures of maths in particular, pre testing them in DOS 1st. I'm guessing other members have a latter version of GWBasic Geoff offers, particularly NOT in V5.08 Geoff Webmite download? Maybe you could shed light on this Jim or guide me to a newer version that includes 'inc'? Thank you for effort reply. It is much appreciated. Regards. Supertech. |
||||
Supertech![]() Regular Member ![]() Joined: 13/11/2016 Location: AustraliaPosts: 43 |
Jim my actual project code tested, loaded and running in Webmite, as expected. HOWEVER, Of course if I were to declare TUbadn and "Run in DOS", That is "the DOS GWBasic provided", I now realize likely your editor 5.2.9 is offering, It will say command error, as "inc" is NOT in that DOS it is meant to be able to use with the syntax running as Webmite? So I think I can conclusively state 'inc' does NOT work, but in fact in GWBasic provided belonging to Webmite use, although, I'm guessing ANY hardware that supports 'inc' GWBasic command! ![]() I understand DOS cannot have every support command belonging to Webmite given it's diverse commands, BUT this is a standard GWBasic command. ![]() So again, In your example, you do not say where, how or on what you testing 'inc' command ON or IN? ![]() Could be any GWBasic Version I dont happen to be using/have? Please explain Jim? ![]() |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2611 |
Checking the latest manual:- The list of commands does not have INC so that would explain your issue. The PicoMite has many built-in Math commands and Functions that are also absent from that version. Peter Mather produced a different Windows MMBasic (MMB4W) that you can search for on TBS. That has INC. MMB4W latest version Edited 2024-11-28 15:00 by phil99 |
||||
Supertech![]() Regular Member ![]() Joined: 13/11/2016 Location: AustraliaPosts: 43 |
Phil99, thank you, finally an answer sorted, properly explained. ![]() ![]() I downloaded, and replaced in MMEdit Program Files folder with MMBasic Ver 5.07.03b19, for now at least, until someone reveals better. Thank you Phil99 ![]() ![]() This has really thrown me out as I didn't consider they never update MMBasic published to match commands published in manuals. Seemingly, just 'play with it?' when some gamer has an issue? REALLY?? ![]() ![]() My Webmite is setup and running (under logging and testing) as a serious support of my whole house, life, yet a simple included command is NOT even included as published? ![]() ![]() Sort of like a car manual saying, put key in, turn to start, BUT car supplied without an engine! Customer complaining it don't start or go like manual says? Um, woops, we forgot to put an engine in! ![]() ![]() It also astonishes me that these things are hiding in a forum that is near impossible, perhaps deliberately hard to find, or even know, if or where items are, specifically latest things belonging to published. NO ONE consistent place.... ![]() Thanks. Supertech. |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6269 |
The first lines of my post: > OPTION LIST WebMite MMBasic Version 5.08.00 I deliberately installed that version to prove to you that it worked in that version. VK7JH MMedit |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2611 |
Jim's point is important, each version of MMBasic has it's own manual. Trying to use the WebMite manual on any other platform will bring tears. DOS/Win_MMBasic and MMB4W each has it's own different manual. As you have found the differences matter. Looking in the wrong manual will cause a lot of frustration. |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4038 |
For many things it's vital to use the matching manual. For cars, too. Except, for cars they often do not produce a matching manual (ask how I know only too well). John |
||||
PhenixRising Guru ![]() Joined: 07/11/2023 Location: United KingdomPosts: 1361 |
Nobody is getting paid for the development/support of this (amazing) product and the rate of development (and support) is beyond astounding. Sure, it's frustrating that info is scattered all over the place and it pains me to ask about something that I know has been covered but in my experience, asking a question has prompted responses that result in a better solution than I had in mind. ![]() |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5059 |
Guy's SuperTech behaves like a troll. This is not the way normal people react. Ignore him, -or- if he expects a professional product and support, let him pay professional labout rates for professional support. Volhout PicomiteVGA PETSCII ROBOTS |
||||
PhenixRising Guru ![]() Joined: 07/11/2023 Location: United KingdomPosts: 1361 |
Sure but I brag about this product/community elsewhere and I don't want a first-timer getting the wrong impression. Up-to-date documentation = no development happening ![]() |
||||
CaptainBoing![]() Guru ![]() Joined: 07/09/2016 Location: United KingdomPosts: 2170 |
I am minded of Vyvyan's struggles with his VCR @SuperTech you have to use the right manual for the right product and version. You are using a recent manual (which documents the INC statement in a relevant version of MMBasic) with a different version of MMBasic that doesn't have it. If this has "thrown" you, you only have yourself to blame. If you use Windows95, you have to use the "manual" for Windows95... unsurprisingly a Haynes manual for an Austin 1100 won't help. h Edited 2024-11-28 20:49 by CaptainBoing |
||||
Supertech![]() Regular Member ![]() Joined: 13/11/2016 Location: AustraliaPosts: 43 |
Everybody has mentioned me using the wrong Manual? Very WRONG! 1. The manual for Webmite (the ONLY thing I using) is 100% Correct for 'inc' command as proven by Tassy Jim. 2. So Everyone, 'the manual' has nothing to do with this issue. I clearly quoted to Tassy Jim, testing the command in failure example he gave, was done in MMbasic 5.05.05 dated release 2021!, as supplied with MMedit 5.2.9, which IS WHERE 'inc' command FAILED, while using V5.08 Manual R3 it rightfully works in the Webmite with. NOT A MANUAL ISSUE! 3. SO the real issue is what? THE MMbasic 5.05.05 supplied with MMedit (Fantasic editor Jim) IS WAY OUTDATED for the Webmite in my case, as THE MMbasic 5.05.05 DOES NOT support 'inc' command , SIMPLE! 4. Tassy Jim, I did notice V5.08, but not that it was MMBasic next to it! 5. Thus my issue still holds, where is MMbasic 5.08.00 FROM? Only Phil99 responded with an answer? While everyone else has drifted into me being a... I ignore such people. Using wrong manuals? Seriously lost the plot, Completely misunderstood me peoples? I have a right to be frustrated, as still, WHERE is this MMBasic 5.08 you prove 'inc' command of couse works in, NOT included with Geoff Webmite V5.08 zip download OR in your MMedit 5.2.9, instead only MMBasic 5.05.05 of 2021 is, what I have as ALSO Quoted and typed in my responce Tassy Jim. NOT A MANUAL vs HARDWARE ISSUE! An old MMBasic issue!! Clear as day. |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4302 |
@Supertech, sorry you are getting frustrated. MMBasic is "supported" on over 10 platforms and not all of those have the very latest language features; INC is a relatively recent addition so (probably) missing from MMBasic for DOS which is one of the older implementations. I deliberately quoted "supported" because that support (as far as the MMBasic interpreter implementation is concerned) largely consists of the unpaid hobby activities of Peter and Geoff with modest contributions from myself and Gerry. The product of these activities is made available for free and on most platforms with a relatively open-source license, I'm not sure much more can be expected. Best wishes, Tom Edited 2024-11-29 00:32 by thwill MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7871 |
Supertech: Please enter print mm.info(version) to check the version of your firmware. If it is 5.05.nn then there is no INC command. The current (soon to be replaced) version is 5.08.nn and you shouldn't be using anything earlier than that. If you can't replace 5.05 with 5.08 then get the manual for 5.05 from the archive on Geoff's web site. If you are running 5.08 or later then: Please post a short piece of code complete with the output from the RUN command to show how the command fails. It is insufficient to simply use it from the command line as this doesn't necessarily show the problem. If possible also show the output from OPTION LIST so we can see if there are any problems there. Thanks. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
PhenixRising Guru ![]() Joined: 07/11/2023 Location: United KingdomPosts: 1361 |
News flash: It is now 2024 ![]() |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4302 |
I think our friend is in addition to the Webmite conducting some activity involving MMBasic for DOS whose latest version is I believe 5.05.05, so no INC. Best wishes, Tom Edited 2024-11-28 23:23 by thwill MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Page 1 of 2 ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |