ECBasic 7B fixes several errors, provides an example of how to use it, and adds a binary save and load for the user’s object program. As usual it can be found here .
Version 7 is out. It is the working ml version. Names are a letter followed by any number of letters and digits. Labels are defined by a name followed by a colon at the beginning of a line. Names are stored as letter pairs in the source. The name itself is displayed on the screen. I was having unexplained results with Rainbow 1.6 on Windows 7 so I copied and pasted the individual files into Rainbow 1.4 on XP before I published them. Just move the folder called the version you want (probably ECBasic 7) into the Projects folder in the Rainbow IDE, and you should be able to open the project when you open Rainbow. As usual they can be found here. I was going to write a cross compiler next, but I think a more reasonable goad is to write a loader in the form of an assembler. It should cut down the wait time at the beginning of a run by a factor of three. And besides, it’s all I really need to write for my IDE for the CoCoNut program for the Palm Pilot.
Version 5 makes all variable characters significant by prefixing them with unique pairs of characters. Version 6 will put the ml routines in high logical memory, store only the unique pairs of characters in the basic program, and display only the original names when listing the program.
Labels can now follow any GOTO, GOSUB, THEN, ELSE, or RUN. Just unzip the folder of the version you want into the Rainbow IDE projects folder, and you are in business. The zip file can be found here. The next version will precede each three or more character variable name with a unique two letter pair, so each name will be significant. Just as the label was left in the executable for debugging, the whole variable name will remain.
I’ve developed a system for the Rainbow IDE to compile basic programs with labels instead of line numbers. Labels begin with :’ They must come at the beginning of the line or immediately after the goto or gosub. Nothing is allowed after the label. The labels are copied into the executable. There is a source.bas file created with line numbers added for finding errors. It uses ml to make the searches faster. The program runs faster than URBANE BASIC, but of course it doesn’t do nearly as much. Here it is. The next version will allow labels after any goto, gosub, then, else, or run.
I have decided to release a rough version of ECedit. The only thing special that it does is make keywords and optionally built-in function names bold on demand. I’m hoping that some of you will try it out and give me some feedback. http://nuts4cocos.org I would like to give credit to Percival on the Orbworks.com forum for fonts.oc, fonts.prc, and the Makefile for ECAddIn.prc ECAddIn.prc and myFonts.prc were made with prc-tools on Cygwin
There were a couple of little flaws to my dump program that I discovered while working on my sync program. I fixed them and the new version is available at dump1-0-1.zip
I thought that I would abandon my Pocket C Architect editor because my old computer died and I thought that I hadn’t saved any copies, but I found some on an old SD card, so now I’m all hep to get back to it. It is written in Pocket C Architect, so understanding and modifying it is relatively easy. At the moment it acts a lot like the Pocket C Desktop Edition on the PC except it runs on a palm pilot. Built-in functions become bold when their names are entered, and prototypes are displayed for built-in and user functions. It’s really quite neat. I can hardly wait to publish it here.
My first computer was a TRS 80 Model I, but when the Color Computer by Radio Shack came out, I fell in love with it, and it has been my favorite ever since. I did a little stuff for the Palm Pilot, I was planning on doing a CoCo emulator for the Palm, but Márcio Migueletto de Andrade down in Brazil beat me, coconut but now that MESS has a really great CoCo emulator on the PC. I think I may switch back to programming for the CoCo. Just for fun and nostalgia. I’m a little disappointed with Yahoo’s tech support, so I’m gradually switching over to here from my Yahoo page which is http://www.coconutpalm.org