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



Variables and DS are local in a (sub)procedure.

They do noty affect variables in others.

When leaving rhe (sub)procedure the data is "destroyed".

So it does not matter whether you give variables in different (sub)procedures the samen name; they are only available when withint the procedure itself.

Kind regards,

Carel Teijgeler


Op 29-12-2018 om 08:11 schreef Booth Martin:
I have confused myself.  Again.

Learning about service programs, prototypes, procedures and stumbling.

I I have a service program with which I wish to offer several procedures relating to the various fields in a specific file.

Each procedure will have specific data structures dealing with the fields related to that procedure.  I would like to use the same data structure name in several procedures although the fields will be different in each data structure.  It's not letting me do that.  Then, when I changed the names of the data structures it tells me that the field names in the data structures are already defined.

So... how do I make data structures and field names that are local to the procedure in which they reside? Or is that a you'll-be-sorry wish?



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.