Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!tektronix!nosun!qiclab!m2xenix!puddle!f715.n153.z1.fidonet.org!Cameron.Barnard From: Cameron.Barnard@f715.n153.z1.fidonet.org (Cameron Barnard) Newsgroups: comp.lang.modula2 Subject: Re: Why are the loops so awkward? Message-ID: <5852.267A4905@puddle.fidonet.org> Date: 15 Jun 90 01:41:25 GMT Sender: ufgate@puddle.fidonet.org (newsout1.26) Organization: FidoNet node 1:153/715 - The BandMaster, Vancouver BC Lines: 30 I've read several of the answers people have given you and they are good but I'm not sure that they were what you were looking for. It is difficult to tell exactly what you are trying to do from the small segments of code you gave as examples but here is some general advice. If you have ever programmed in BASIC or any other unstructured language you will do best to forget everything you have learned there. Modula-2 is a highly structured language that is extremely powerful but can be tricky to use because YOU HAVE TO HAVE A DEFINITE PLAN OF ACTION BEFORE YOU EVEN BEGIN TO START PROGRAMMING. This has advantages and disadvantages. You have a lot of power but it takes a while to get the hang of it. I used to program in BASIC and found Modula-2 quite difficult to learn but now that I am familar I will NEVER go back to basic. (Unless I want to write something really quick and dirty.) I highly reccomend a book by Rick Sutcliffe titled INTRODUCTION TO PROGRAMMING USING MODULA-2. It is published by Merrill and is an excellent and very readable book. Good Luck and hang in there! Cameron Barnard. -- uucp: uunet!m2xenix!puddle!153!715!Cameron.Barnard Internet: Cameron.Barnard@f715.n153.z1.fidonet.org