Re: FORRTRAN CANT (was: Alternative COBOL "telco" source program)

From: robin (robin_v_at_bigpond.mapson.com)
Date: 05/28/04


Date: Thu, 27 May 2004 23:43:27 GMT

lruss@superlink.net (L Russ) writes:
> robin <robin_v@bigpond.mapson.com> wrote in message news:<Iadtc.12799$L.1063@news-server.bigpond.net.au>...
> > From: "Michael Mattias" <michael.mattias@gte.net>, SBC http://yahoo.sbc.com
> > Date: Wed, 26 May 2004 12:09:48 GMT
> > .
> > | Some of these "can'ts" are so incredibly banal...
> > .
> > They all are.
>
> They are all worse, much worse, than banal.

agreed.
A beginner could solve most of them,

> > .
> > | e.g., # 18 "CANT find last
> > | word index in trailing blank text using a loop <= 3 statements."
> > .
> > Not only can this be done in PL/I,
> > it can be done by a beginner.
> > Furthermore, it can be done in PL/I in one statement.
>
> But if you do it in one statement, then it's not in a loop, and CAN'T
> 18 clearly states that you should use a loop, with at most 3
> statements, implying that using a loop (with three statements or less)
> is really the important thing when you do this task.

The only reason for this silly "rule"
is that Frank can't do it any other way.

FORRTRAN can't do it with a 2-statement DO loop either.

But what Frank can't comprehend is that
as PL/I has varying strings, there is little
call for such a task, as trailing blanks
usually don't occur.



Relevant Pages

  • Re: Problem GUI-Loop-CPU Auslastung
    ... Ein andere Sache ist Deine Loop. ... Cursor = Cursors.WaitCursor; ... Stattdessen kann auch innerhalb von DoHardWork() Thread.Sleep ... Dipl.Inf. Frank Dzaebel ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Re: Basic file operation questions
    ... > I am a beginner with python and here is my first question: ... > How can I read the contents of a file using a loop or something? ...
    (comp.lang.python)
  • Re: generate Matrix with ones
    ... > I've a beginner question... ... > course, it could be easily realized by a for loop, but for speed ... The DEC2BIN function will help you. ...
    (comp.soft-sys.matlab)
  • Re: visual basic
    ... >The previous post is probably the fastest I've ever typed with four fingers, ... >I posted it before I could calm down. ... loop, this thread was it. ... Regards, Frank ...
    (comp.lang.basic.visual.misc)
  • Re: Strcpy versus Strncpy in arrays
    ... >>> Inside the body of the loop. ... I'm sure Mark knows how it actually works. ... > Beginner known that i++ returns the value from before the increment. ...
    (comp.lang.c)