From the What's new in V7R1 manual:
Optional prototypes
If a program or procedure is not called by another RPG module, it is
optional to specify the prototype. The prototype may be omitted for the
following types of programs and procedures:
v A program that is only intended to be used as an exit program or as
the
command-processing program for a command
v A program that is only intended to be called from a different
programming language
v A procedure that is not exported from the module
v A procedure that is exported from the module but only intended to be
called from a different programming language
Scott
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Rpglist
Sent: Tuesday, December 04, 2012 8:47 AM
To: RPG programming on the IBM i / System i
Subject: I thought all procedures had to be prototyped
I came across a program that has a procedure with no PR prototyping an
it works.... What am I missing?
Sent from my iPhone
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
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.