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



"Jim Langston" <jlangston=z63DYYLNj2pBDgjK7y7TUQ@public.gmane.org> wrote in
message 4450A3C6B2D8F940821FB6B28A4D55FEB6A474@MAIL2.celsinc.com">news:4450A3C6B2D8F940821FB6B28A4D55FEB6A474@MAIL2.celsinc.com...
> I know for a fact that a procedure can see file variables in the program.
> But I thought that a procedure could not see local variables in the
program.  Is this not true?
> By local variables I mean ones created in the D specs of the main program.

Depends on how the procedure is built.

If it's a subprocedure inside a main program (without external modules or
service programs), then a subprocedure has access to all the variables and
fields that are defined in the main line of the program.

If the procedure is defined outside of the main program (in a module or
service program), then it does *NOT* have access to variables & fields
defined in the main program.

david






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.