Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site seismo.CSS.GOV Path: utzoo!watmath!clyde!cbosgd!gatech!seismo!mo From: mo@seismo.CSS.GOV (Mike O'Dell) Newsgroups: net.micro.mac Subject: Megamax Include problem solved - dialog box bug? Message-ID: <547@seismo.CSS.GOV> Date: Thu, 24-Oct-85 13:49:54 EDT Article-I.D.: seismo.547 Posted: Thu Oct 24 13:49:54 1985 Date-Received: Fri, 25-Oct-85 04:05:50 EDT Organization: Center for Seismic Studies, Arlington, VA Lines: 43 Well, I solved my include file problem, but I don't know what was wrong. I dinked with the line in question to no avail (couldn't find any magic characters, but then I didn't go to the extreme of Fedit), so I finally just chopped out about 10 lines (5 either side of the problem) and typed it in again. That fixed it. I am buying a garlic garland to put on top of the disk drive this afternoon. On another note, has anyone else noticed that in the Batch "exiting" dialog, the DRIVE and EJECT buttons are backwards with respect to SFGetfile?? It is amazing how fast you subliminally learn where such things are and automatically go for them. Having to continually read the buttons is a nuisance. On the other hand, Batch is VERY well done. One enhancement, however: the addition of an "out of date" function would allow most "make" scripts to be written as simply a list of if statements. I propose the following: out_of_date(target list_of_files_target_depends_upon) return TRUE if mdate() of any file in the list is more recent than the mdate of the target. This can of course be done currently, but only with a gigantic if statement. With out_of_date(), we can write: if (out_of_date(foo.c foo.h bar.h baz.h)) { mmcc foo.c } or set objs = main.o sub1.o sub2.o... ... if (out_of_date(a.out $objs)) { mmlink -o a.out $objs } You get the idea. So, is anyone at Megamax Land listening?? Again, Batch is wonderful now, but this would make scripts so much tidier to write and maintain. -Mike O'Dell