![]() |
Forum Index : Microcontroller and PC projects : MM Edit V3.4.12
Author | Message | ||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6220 |
MM Edit update V3.4.12 @BigMik I have changed a few buttons for you but the colours are 'a bit ordinary' @psergiu I had forgotten about the File Manager window. If it's open, it takes full control of the serial port. Now, the File Manager will be closed before trying to upload. I have made a couple of more changes to the timing so please try again. I hope we can get it to "RUN" properly. @G8JCF I have added the comment and DEBUG routines but no update to the manual yet. It might do a few unexpected things so please test it on a copy, not the only working version of your code. @ Everyone I am hopefully getting closer to having the Load and Run working properly on Mac's Because of the added buttons and changed icons for some buttons, you will have to do a full update. New commands added to mark lines as comments. This is useful when you want to disable sections of code without deleting it. New commands added to mark lines as DEBUG by placing " 'DEBUG " at the end of the selected lines. You can then do a quick DEBUG to comment which marks the DEBUG lines as comments. All the above actions are reversible. The most likely use for DEBUG lines is to print intermediate values while debugging and then quickly switch them off, keeping the DEBUG lines in place - just in case they are needed again! The program can be downloaded from the usual location. http://www.c-com.com.au/MMedit.htm Once I am happy that the current bugs have been squashed, I will update the manual. Jim VK7JH MMedit |
||||
bigmik![]() Guru ![]() Joined: 20/06/2011 Location: AustraliaPosts: 2946 |
Thanks Jim, I much prefer those icons for Load and save.. You should have seen a small paypal donation from me the other day, a small token of my appreciation for your efforts. Regards, Mick Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
G8JCF![]() Guru ![]() Joined: 15/05/2014 Location: United KingdomPosts: 676 |
Hi Jim 3.4.12 Installed and in use. Very nice indeed !!! The Block Comment/UnComment is really great. ![]() The Debug feature is also really great. ![]() And of course Auto-Crunch continues to provide me with so much more capacity on the uMite ![]() I'll post more feedback later on tonight (UK time) after I've exercised 3.4.12 more thoroughly. Very many thanks for such a responsive turn around. 73 Peter The only Konstant is Change |
||||
G8JCF![]() Guru ![]() Joined: 15/05/2014 Location: United KingdomPosts: 676 |
Hi Geoff I've been using V 3.4.12 intensively and so far GREAT ! The Block comment and Debug feature really are very useful and save so much time. On a different aspect of MMEdit I think I may have found a little nuisance. When Functions are defined, string Functions have "$" appended to the function name, eg TrimL$ whereas Numeric functions have nothing, eg Max. Now if I rest the cursor on the function name in the code and click on the Right Red arrow, then if the Function is numeric, MMEdit jumps to the Function, if however the function is string, then MMEdit puts up a dalog box Captioned "- Notice -" containing a Triangle and the message "Sub XXXXX not found". If I manually select the entire name including "$" (double clicking doesn't select the whole name to include "$")then MMEdit jumps correctly to the function. It's more of a nuisance than a serious problem, but if while you're editing the source, you may come across the cause. As before, very many thanks for MMEdit Peter The only Konstant is Change |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6220 |
I had a lot of trouble with $ and ( and trying to determine what constitutes part of a word. Double clicking will always consider the $ as not being part of the word. I had already found a way around the problem for MMEdit2 and should be able to do the same for the current version. In MMEdit2, if you double click to select the word, or highlight any text, it will search for the actual text only and therefore fail. But if you just have the cursor within the word, it will find the one with the $ OK. I will have to improve MMEdit2 as well! I have just been told that I am trimming the hedge today so it will have to wait... Jim VK7JH MMedit |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6220 |
Garden chores completed (for now). This update V3.4.13 improves the searching for subs/functions to correctly find function names ending in '$'. The only other change is a layout fix in 'preferences' and, if you download the full program, some of the new toolbar Icons have been improved a little bit. 2014-06-09_032859_MMedit.zip If you are already on V3.4.12, I wouldn't bother downloading the full program, just replace the attached MMEdit.tkn If you are using a version prior to V3.4.12, you will need to download the full program from: http://www.c-com.com.au/MMedit.htm Jim VK7JH MMedit |
||||
G8JCF![]() Guru ![]() Joined: 15/05/2014 Location: United KingdomPosts: 676 |
Hi Jim You Fixed it !! Thank You Topiary - are there any limits to your skills :) 73 Peter The only Konstant is Change |
||||
G8JCF![]() Guru ![]() Joined: 15/05/2014 Location: United KingdomPosts: 676 |
Hi Jim I've been unable to get $INCLUDE to work whatever I do. When I try, I get the message the "- Notice -" dialog box and "0 files merged". I had first set the "Include File Folder" using the File Menu, but MMEdit doesn't show what the Include File Folder actually is. I have to admit that at first I had expected $INCLUDE files to be merged at "Download" time, so that the source of the $INCLUDEd file could never get accidentally saved with the source of the main file, and that way, the $INCLUDEd file is always the proper file. But then I carefully read the MMEdit manual. Sorry if I seem to be complaining a lot about such an excellent program, but it's because it shows just how much I rely on and use MMEdit, and would be lost without it ! Any advice on $INCLUDE would be very much appreciated. Many thanks Peter The only Konstant is Change |
||||
G8JCF![]() Guru ![]() Joined: 15/05/2014 Location: United KingdomPosts: 676 |
Hi Jim Since loading up the latest TKN file, I'm getting a lot of "performMenuItem:" not understood errors. I can just dismiss the dialog box and everything seems to continue to work fine. I've enclosed the entry from Error.Log 73 Peter - GM8JCF Error log timestamp Monday 09/06/14 20:56:47
Runtime error: "performMenuItem:" not understood MessageNotUnderstood>>defaultAction MessageNotUnderstood(Exception)>>activateHandler: <anUndefinedObject> MessageNotUnderstood(Exception)>>handle MessageNotUnderstood(Exception)>>signal MessageNotUnderstood class>>message: <aMessage> SystemWindow(Object)>>doesNotUnderstand: <aMessage> Message>>perform NotificationManager>>empty NotificationManager>>runPendingEvents NotificationManager>>runEventLoop Message>>perform Message>>evaluate Process>>safelyEvaluate: <aMessage> Process>>evaluate: <aMessage> The only Konstant is Change |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6220 |
Hi Peter, I like to see users of MMEdit pushing it to the limit. It is only users like you who find the problems and areas that need improving. I haven't looked at the $INCLUDE area for a while so something might have changed. I will test it first before reporting back. The INCLUDE folder should be the same one opened when you do an Edit/Insert file... When looking for files to include, the program first checks the current DOCS folder and then the INCLUDE folder. That's how it should work. The Include folder can be found by checking Help/About. I have never seen the "performMenuItem:" error so I will have to do some investigating. Jim VK7JH MMedit |
||||
G8JCF![]() Guru ![]() Joined: 15/05/2014 Location: United KingdomPosts: 676 |
Hi Jim Thank you for your forbearance. I've tried again with $INCLUDE and blow me down if I can get it to work ! The source and library are on a USB drive if that makes a difference - I'll transfer it all to my C: just in case and try again. Now for another suggestion/optimisation allied to $INCLUDE. I've been building up my extended precision library, and because it's a general purpose library it has lots of comments/examples so that when I/someone-else goes to use it in the future, they should find it self documenting - I hope - and also it contains a lot of subs/functions of which any given project would probably not use all, so ..... Would it be possible for Auto-Crunch to also remove (but leave as blank lines so that debugging doesn't get messed up) UNUSED SUBS and FUNCTIONS please ? The idea came to me when I looked at the "Report Variable Usage" report which includes Type "S" & "F" so MMEdit does seem to have an idea about Subs/Functions and their frequency of use and where there is only one occurrence then that would seem to me to be the definition and hence that Sub/Function hasn't been called anywhere. The same could maybe apply to Variables as well I think. Many thanks Peter The only Konstant is Change |
||||
G8JCF![]() Guru ![]() Joined: 15/05/2014 Location: United KingdomPosts: 676 |
PS, re the "performMenuItem:" error, my PC rebooted itself later on in the afternoon, and since the reboot, no error ! I usually hibernate my PC, and it hadn't had a reboot for over 10 days now, so perhaps lots of lint and grit had built up. 73 Peter The only Konstant is Change |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6220 |
Peter, I am glad the "performMenuItem:" error has cleared with a reboot. Reboots can help a lot. That's what the man in the white coat is going to do to me tomorrow! Locating unused subs and functions should be safe to do and it something I had on my own wish list. Deleting unused variables could get tricky. Your program might be expecting it even with only one reference in which case it would be zero. The most I would do is flag the line and let the user decide what to do with it. Re $INCLUDE. I will have a look at it on a USB drive and see what I can sus out. I know that there is a problem with UNC names "\\server\folder " will fail but mapped network drives are OK. That's a "Windows" problem which I am unable to fix until I change to PureBasic. Jim VK7JH MMedit |
||||
G8JCF![]() Guru ![]() Joined: 15/05/2014 Location: United KingdomPosts: 676 |
G'day Jim Hopefully the "medical reboot" is nothing too serious. Re Variables, I wish MMBasic had an "Option Explicit", ie any variable NOT declared via a DIM or Local would generate an error. I've been brought up on VB1-VB6, which may explain a lot of my requests for MMEdit, ie I'd like to see MMEdit become the IDE for MMBasic for uMite. Anyway on an entirely different subject, it's the World Cup in 4 days time, the "Beautiful Game", and it can be when played cleanly. Take care, and good luck tomorrow Peter The only Konstant is Change |
||||
BobD![]() Guru ![]() Joined: 07/12/2011 Location: AustraliaPosts: 935 |
Peter, it's a lot closer than that. From the World Cup official site we get this countdown. |
||||
G8JCF![]() Guru ![]() Joined: 15/05/2014 Location: United KingdomPosts: 676 |
Hi Bob Thanks for that, I must have been thinking of Sat for England's first game Peter The only Konstant is Change |
||||
BobD![]() Guru ![]() Joined: 07/12/2011 Location: AustraliaPosts: 935 |
Peter, it's getting close. First match at 0600 Friday (AU time), Australia plays Chile at 0800 on Saturday and I see England plays Italy 24 hours later. The times are a bit difficult in OZ with two of our group matches starting at 0200. Google AU has a custom animated display for the cup. |
||||
G8JCF![]() Guru ![]() Joined: 15/05/2014 Location: United KingdomPosts: 676 |
Hi Bob Brasil escaped by the skin of their teeth from what I saw ! Peter The only Konstant is Change |
||||
BobD![]() Guru ![]() Joined: 07/12/2011 Location: AustraliaPosts: 935 |
and with the help of the ref. He fell for Brazil's fake falls which they have been practising for years. We better quit this. We are so far OT we are nearly out of sight. |
||||
G8JCF![]() Guru ![]() Joined: 15/05/2014 Location: United KingdomPosts: 676 |
:) Bye The only Konstant is Change |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |