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



Bob,

I'm a little fuzzy on the /IF and /DEFINE declarations.

I remember seeing them discussed before, and I think they have something to
do with optionally defining portions of a copybook to your program......

am i right?  what does it buy you other than the memory needed to define
these specific specs?

by defining all prototypes of a SP to your program, does it bind all
functions from the SP even if you don't use them?

in otherwords, if you have 20 functions in a service program with an
associated prototype copybook, and you include the entire copybook in your
main module, does it bind all functions to the program?  and conversely
only including the prototypes of the functions you actually use cause only
those functions to be bound to the program?

or not?  ;)

thanks,

Rick

-------original message----------
<snip>
      /IF       NOT DEFINED(STREAM_FILES)
      /DEFINE   STREAM_FILES

     D fOpen           PR              *   ExtProc('fopen')
     D  fileName                       *   Value Options(*STRING)
     D  fmode                          *   Value Options(*STRING)
     D O_READ_ONLY     C                   Const('r')




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.