Path: utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpda!hpcupt1!hpindwa!aaronf From: aaronf@hpindwa.HP.COM (Aaron Friesen) Newsgroups: comp.sys.amiga Subject: Re: Re; Whatever happened to TDI (ModulaII)? Message-ID: <36580013@hpindwa.HP.COM> Date: 7 Jun 90 17:37:59 GMT References: <2924@crash.cts.com> Organization: Hewlett-Packard, Cupertino CA Lines: 55 From: rod@venera.isi.edu (Rodney Doyle Van Meter III) > [Benchmark Modula-2] does have some bugs, namely that it won't run the editor from the > workbench, and it won't run the compiler from the shell, only within > the editor. Regarding the editor, if by "run from the workbench," you mean "refuses to execute at all," make sure you provide enough stack space. The manual has a section outlining this condition. If you actually mean "it executes, but it doesn't work the same as if executed from the CLI," then maybe you don't have everything set up quite right. I've been running Benchmark from the workbench since I bought it (I ordered it mail-order as soon as I found it advertised in AmigaWorld). I use IconX to ge everything set up correctly ("cd" to the right directory to access the .emacs file, set the stack size, and start up the editor). I've also been able to run the compiler from the shell. Once again, make sure it has enough stack space. > This is partially their fault, and partially the language's: if you > declare that a routine has a return value, the compiler doesn't insist > that you actually return one (the version of Wirth I have says the > compiler should insist that the routine have at least one RETURN > statement, but that it's entirely the programmer's fault if it's > inside a untaken IF clause or somesuch, so the compiler actually > differs from the spec here). Makes for great nonrepeatable > machine-crashing bugs! I agree that they could have done better and implemented this 'feature' like the spec (or even improved on the spec), but it would still be the programmer's responsiblity to make sure that a RETURN is always executed. So unless Benchmark went beyond the spec and checked that a RETURN is executed for all paths through the procedure, "nonrepeatable machine-crashing bugs" should still be expected if the only RETURN is inside an untaken IF clause. > I do like it, though. Lots of good documentation, and the Emacs beats > the best version of MicroEmacs I have. If you have source code in TDI > M2, they include a guide on the differences. I agree. I've recommended Benchmark on the net several times. > The main reason I'm writing, though, is to ask where you can get the > debugger! I'd love to have it, but the Amiga stores in SoCal say they > don't have it and can't get it. My local dealer doesn't keep the debugger in stock, but said they could order it for me from the publisher. I've received order-forms from Avante-Garde (sp?) for ordering it direct, so you should be able to get it direct, simply by writing to them. If you haven't seen the price, get ready for a shock. The debugger costs about as much as the basic Benchmark package (~$120 US). I haven't purchased it yet, but it is on my "wish list." Scan through AmigaWorld and call some of the large mail-order outfits that advertise Benchmark. They should be able to get the debugger for you. I'm sorry that I don't have any specific names for mail-order, but I'm at work and my copies of AmigaWorld are at home. Aaron aaronf@hpindwa.hp.com