I don't think it's a good idea...

Especially in the use case of only including 1 or 2 prototypes...

Maybe today you only need 1 or 2 in one place...but some other place needs
a dozen...

then you've got
/define PROC1
/define PROC2
/define PROC3
/define PROC4
/define PROC5
/define PROC6
/define PROC7
/define PROC8
/define PROC9
/define PROC10
/define PROC11
/define PROC12
/copy PROTOSRC,MYSRVPGM
/undefine PROC1
/undefine PROC2
/undefine PROC3
/undefine PROC4
/undefine PROC5
/undefine PROC6
/undefine PROC7
/undefine PROC8
/undefine PROC9
/undefine PROC10
/undefine PROC11
/undefine PROC12

Now say I need to add a call to another existing proc...what was that name
again? No way to see it in my program..

What's worse...you open up PROTOSRC,MYSRVPGM and the outline view shows no
prototypes!...

Charles




On Thu, Nov 30, 2017 at 1:55 PM, <dlclark@xxxxxxxxxxxxxxxx> wrote:

Anybody else ever had the need/desire to code a compound
conditional compiler directive?

/if defined(PrototypesOnly) and ( defined(_ImLfDt_GetTableData) or
defined(ImLfDt_GetTableData) )
...snip...
/endif

What is the link to creating a request for such a thing? ...and,
would anybody vote for it? think it is a good idea?

Sincerely,

Dave Clark
--
int.ext: 91078
direct: (937) 531-6378
home: (937) 751-3300

Winsupply Group Services
3110 Kettering Boulevard
Dayton, Ohio 45439 USA
(937) 294-5331



************************************************************
*********************************
This email message and any attachments is for use only by the named
addressee(s) and may contain confidential, privileged and/or proprietary
information. If you have received this message in error, please
immediately notify the sender and delete and destroy the message and all
copies. All unauthorized direct or indirect use or disclosure of this
message is strictly prohibited. No right to confidentiality or privilege
is waived or lost by any error in transmission.
************************************************************
*********************************
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD


This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2020 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].