× 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.



Sample *entry replacement:
D Faxtest         PR
D  PhoneNbr                     15A
D  Faxing#                      30A
 * Replaces *ENTRY PLIST
D Faxtest         PI
D  Phone                        15A
D  Fax#                         30A

This replaces:
C     *ENTRY        PLIST
C                   PARM                    PHONE            15
C                   PARM                    FAX#             30

If you have a D spec, type PI, outside of a subprocedure, and it is the
same name as the module itself, then it is the replacement for *ENTRY.  You
may want to put *ENTRY out in the comment section at the far right.
Dinosaurs still roam the earth and will scan for *ENTRY.  They'll
appreciate your consideration.

Now to advance this further I would replace:
D Faxtest         PR
D  PhoneNbr                     15A
D  Faxing#                      30A
 * Replaces *ENTRY PLIST
D Faxtest         PI
D  Phone                        15A
D  Fax#                         30A

with:
D/copy mylib/QPROTOSRC,faxtest
 * Replaces *ENTRY PLIST
D Faxtest         PI
D  Phone                        15A
D  Fax#                         30A

Then, any program calling FAXTEST would use the /copy line also and not
have to redo the prototype.  Understand?

Rob Berendt

==================
A smart person learns from their mistakes,
but a wise person learns from OTHER peoples mistakes.



                    "Robert Upshall"
                    <rupshall@psasoft       To:     <rpg400-l@midrange.com>
                    .com>                   cc:
                    Sent by:                Fax to:
                    rpg400-l-admin@mi       Subject:     free form alternatives?
                    drange.com


                    09/24/2001 09:10
                    AM
                    Please respond to
                    rpg400-l






Can somebody let me know if there are free form alternatives to klist/kfld
and *entry plist?

Those are the only 2 things currently stopping me from completely removing
the c-spec from the program I am attempting to convert to free form.

Robert Upshall
Professional Software of Amarillo
(806) 358-8928
rupshall@psasoft.com


_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.







As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.