× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You can test this easily:

FSCREEN     CF                        WORKSTN
FCLIENT        IF                         DISK
C                          READ CLIENT                                  LR
C                          EXFMTSCREEN

I wrote a similar programme once, being the teacher, to introduce RPG 
programming to trainees (better then an "Hello World" example). You will see 
that the last record will be shown twice, thus LR is tested at the bottom.

It is a Cycle programme, because the main line in RPG is auto-iterating.

Regards,
Carel Teijgeler.

*********** REPLY SEPARATOR  ***********

On 30-11-05 at 13:57 daparnin@xxxxxxxxxxxxxx wrote:

>> The anti-cyclists still use the cycle.  They just don't understand it.
>
>Speaking as one who thinks that he understands it but doesn't use it unless
>it's an existing program that needs modification I have to ask--Is it a
>cycle program if LR is set on before it iterates (i.e. is it top-tested or
>bottom-tested)?  If it's bottom-tested then it would never "cycle" back to
>test LR.  It would test it at the bottom, find it on, and end.  Thus, it
>wouldn't technically be a cycle program.
>
>If I had to guess I would say that it is top-tested in which case you would
>be right and all programs would be cycle programs.  If not, then it would
>be a cycle-capable program.  This getting a bit nitpicky.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.