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



Mike,

Grouping procedures in a module allows those procedures to share static
(global to the module) variables in the module.  This includes any file
definitions.  For example, any procedures that worked with the same file
would have to be in the same module.

Other than data sharing there isn't much reason that I can see to put more
than one procedure in a module or more than one module in a service program.
Grouping procedures into modules or modules into service programs might make
an application easier to manage (not as many objects) but could cause
version control problems (simultaneously changing two parts of a module or
service program).

There really is no equivalent of module or service program to Java class.
If you code the module or service program right you can get close to a Java
class - if  the class only had static members.  The module or service
program might be more like a  Java package.

Paul


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.