|
Joe Pluta wrote:
I thought the same thing, Rob, until I realized the line starting with //temp is a comment, not a directive.
Dang, I didn't realize it would wrap. It looked so nice before I posted it. Here it is again with shorter names. /undefine temp /If defined(Copy_proc_pr) /define temp /ElseIf defined(Copy_SRVPGM_Pr_All) /define temp /EndIf // temp = defined(Copy_proc_pr) OR defined(Copy_SRVPGM_Pr_All) /if defined(temp) whatever /endif By the way, AND is easier than OR: /if defined(something) /if defined(somethingElse) * both something and somethingElse are defined whatever /endif /endif
As an Amazon Associate we earn from qualifying purchases.
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.