Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site uscvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!ittatc!dcdwest!sdcsvax!sdcrdcf!uscvax!papa From: papa@uscvax.UUCP (Marco Papa) Newsgroups: net.micro.amiga Subject: Mandelbrot's program broken under Lattice C 3.02 Message-ID: <239@uscvax.UUCP> Date: Sat, 11-Jan-86 13:41:59 EST Article-I.D.: uscvax.239 Posted: Sat Jan 11 13:41:59 1986 Date-Received: Tue, 14-Jan-86 04:14:03 EST Organization: CS&CE Depts, U.S.C., Los Angeles, CA Lines: 35 I guess I just got bitten by the Lattice "C' nasty bug referred by John Draper as follows: "...Good ol Lattice C has a nasty bug that won't let me use four cases without crashing. This is why it takes so long to write programs on the Amiga. ..." When running the new version of the Mandelbrot program by Robert French, modified by RJ Mical of Commodore Amiga, I run into the following problems: 1. the Preset function does not work. All the 4 values (SR, ER, SI, EI) get initialized to the same values (it seems to be the first one). Which means that also at startup the values are wrong. 2. The CM (change mode) command does not work. I don't seem to be able to get interlace at all. 3. Saved images are not loaded back correctly (the limits are wrong). This makes the program totally useless. I noted that RJ Mical has used the "case" statement extensively in his modified version. Did he compile and test it with the Greenhills C compiler only, or did he try it out also with Lattice C 3.02? Has anybody else experienced similar problems with the new version. By the way, the old version of the Mandelbrot program does not have any of above mentioned problems. Marco Papa USC - Computer Science Dept. UUCP: ...!{decvax,ucbvax,hplabs}!sdcsvax!sdcrdcf!uscvax!papa ...!{allegra,trwrb,trwspp,ism780,cithep,oberon}!uscvax!papa CSNET: papa@usc-cse.csnet ARPA: papa%usc-cse@csnet-relay.arpa