[comp.sys.amiga] MODULA-2

OHA101%URIACC.BITNET@mitvma.mit.edu (F. Michael Theilig) (05/24/89)

     I will be porting a program that my roommate wrote to the Amiga.
 It is in Pascal.  Obviously, I will have to port it into another
 language.  First, I was looking at C.  I know both C and Pascal
 reasonably well.  Than I was thinking of Modula-2.  I know fairly
 little about Modula-2 except that it looks like Pascal.

     My question:  How much work would bringing it to Modula-2 be?
 What Modula-2 compilers are available that are worth looking at?
 Should I just go ahead and do it in C?

     Thanks in advance.

     /*
          F. Michael Theilig               OHA101 at URIACC.Bitnet

               "There is no Dark Side of the Moon...
                                     in fact it is all dark."
                                                                       */

bob.lockie@canremote.uucp (BOB LOCKIE) (12/02/89)

To whoever wanted to know how to get divider menus. Just create a normal
MenuItem structure but set the width:=1. This will display the menu but
it's width will prevent it from being selected. If the IntuiText
structure is set to '------------' (or something else) a divider is
effectively created! As for the other question I think their is an
article in Transactor for the Amiga (I don't know the volume) that shows
(in C) how to poll processes for a profiler type program. Why do you
need to do this? (PS. If you're using TDI you might want to check out
M2Sprint they offer an upgrade for TDI (out of business) owners. It's a
great product (full featured system- 6 disks (lots of examples) and 2
binder/manuals. M2S Inc. PO Box 550279, Dallas, TX, 75335. No
affiliation to them, but it is a great compiler. Send for a demo disk!
Oh the other question (RawKeys) there are demos around, try the TDI demo
disk, PD, (M2S has an example). You could use VanillaKeys instead
(they're easier)!
This is directed at Hibbard Engler but I don't know if it'll get there,
or if I can send this as a private message. So if it's public then this
is the appology (if needed).

 * QNet 1.03a3: Amiga Blue International (416)844-0465 Toronto (SmartNet)