Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
So, I'm on a runaway train now with service programs, taking time off-hours
(I'm a contractor) to learn all of this stuff, and now stumbling onto
conditional compiler directives.
I've always disliked the idea of keeping prototypes in their own source
file, usually QPROTOSRC.
So, while I was searching for information on how
to use /DEFINE, /IF DEFINED, etc., I found Jon and Susan's article at
http://ibmsystemsmag.com/ibmi/developer/rpg/iseries-extra--using-conditional-compiler-directiv/?page=2
and opened up "Code Sample 1" (pasted below), which appears to be an answer
to avoiding QPROTOSRC files. My question: Is anyone actually using this
technique? If anyone has considered using it, but decided not to, can you
explain why?
This mailing list archive is Copyright 1997-2026 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.