Crunchie: File Crunchie:files.messages not found
Bryan (8467) 468 posts |
As the title says, I am running an updated version of Crunchie downloaded today and I get an error window saying: As the error says, there is no messages file in the files directory. Any ideas what I have done wrong? I think I have deleted all previous version from this Ras Pi. I do not have Reporter. I have tried crunching my own program (240K) and the uncrunched file for Crunchie. Both give the same Error and no analysis. |
Stuart Swales (8827) 1357 posts |
Amusingly Source.Crunchie and !RunImage are different versions. Try dropping a copy of Messages from Resources into Files. Or try |
Bryan (8467) 468 posts |
Hmmmm. Source.Crunchie has some errors of its own. REM statements not preceded by a colon. |
Martin Avison (27) 1494 posts |
Are you using v0.86, which seems to be the latest on the website? |
Bryan (8467) 468 posts |
The zipfile is v0.86. but !RunImage says Crunchie:!RunImage 0.84 |
Steve Drain (222) 1620 posts |
I am suitably prodded. ;-) How pleasing to know that more than one person is using Crunchie. I had better start supporting it. Martin is right, there were some bugs that I ironed out and sent just to him. I will dig that out and tidy up the download. There remain a few quirks that could still have some work done on them. Be aware that the !RunImage is for the desktop front end. The Crunchie utility is separate and they may well have different version numbers. It is probably best to not use the front end, because it is to some extent experimental.
REM statements do not have to have a colon, but my practice is to insert one. The only requirement is that the REM must be ‘distinct’ from other things to be tokenised correctly. I always have BASIC$Crunch set so colon and REM statement are removed. Sometimes I forget that others do not do this and leave a REM after an IF…THEN, which can cause problems. ;-(
Why? ;-) |
Bryan (8467) 468 posts |
I look forward to the next release. I like Crunchie.
I have learned a bit more. PRINT 6 REM notOK will fail
There are lots of things I do not have. My brain is already full. |
Steve Drain (222) 1620 posts |
OK. Although the Downloads page does not point to it, Crunchie v0.93 is already uploaded. This version does not have the front end and has some significant changes over v0.86, so worth checking the manual. I will have a more detailed check ‘in due course’. ;-) |
Steve Drain (222) 1620 posts |
Ah! Another problem with I have to recommend having it set most strongly. The reasons for BASIC V having to have this switch have long gone, and BASIC VI always does the crunch. Crunchie sets BASIC$Crunch when loading programs as libraries, but honours the user’s setting by restoring it after. Basalt sets BASIC$Crunch, and that is it. ;-) Another Crunchie, as with all crunchers, has to deal with |
Martin Avison (27) 1494 posts |
Plug mode On. |
Bryan (8467) 468 posts |
Alternatively, you could accept that other people have effective ways of debugging BASIC programs. |
Bryan (8467) 468 posts |
Ah. Thank you for that. Sorry I missed the post first time; being distracted by the non related answers to the original post. |