For Programmers: Free Programming Magazines  


Home > Archive > Fortran > August 2005 > Re: Count Items challenge









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Count Items challenge
robin

2005-08-24, 3:57 am


David Frank wrote in message ...
>
>"gerard46" <gerard46@rtt.net> wrote in message
>news:HbKdnW5vMelMOZreRVn-gQ@onvoy.com...
>
>2 TALLY calls = 2 scans <GEESH>
>
> No sense in duplicating efforts. Note
>
>We are talking count of # executable statements.
>If you place your tally statement into a PL/I function called
>Count_items(line)
>you have as many or more support statements as I do..


No need to because the PL/I stament is simple.

And even if it *were* to be used so often that it might
be desirable to encapsulate it, it could be set up
as a macro call.
And that produices just ONE executable statement.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com