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



On 2012/10/4 1:43 PM, newnancy@xxxxxxxx wrote:
I know that this is a little late in the game. But when you are using
MAIN, are there still O specs?

Even when a program used a IF file instead of a IP, it still followed the
program cycle somewhat. Does MAIN change all that?


If you want to code O specs, they go before the first P spec. (If you have externally-described files, the generated O specs will go in the compiler listing before the first P spec.)

You're right about an IF file following the cycle somewhat. When you set on LR, the file gets closed when the cycle-main procedure ends. That doesn't happen with a linear-main. With a linear-main (or a NOMAIN), files without USROPN still get opened automatically when the first procedure gets called in the module, but they only get closed by a CLOSE opcode, or when the activation group ends.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.