Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!orion.oac.uci.edu!uci-ics!milne From: milne@ics.uci.edu (Alastair Milne) Newsgroups: comp.lang.pascal Subject: Re: Problem in Turbo Pascal 4.0 Message-ID: <25F89C42.24904@paris.ics.uci.edu> Date: 10 Mar 90 06:18:42 GMT References: <4658@ur-cc.UUCP> <8674@bunny.GTE.COM> Lines: 12 as02@bunny.gte.com writes: >Never use real numbers for a loop count; use an integer counter . That is to say, use the most appropriate *scalar* for what your counter is indexing: INTEGER, CHAR, Fruit, Colours, etc.. But as so rightly says, the counter must not be a non-discrete type. Didn't Turbo complain rather loudly? Alastair Milne