|
>I removed the file declaration from module >M2 and all the fields references too. >I read the file in M1 and still the fields do >not show vlaues. A variable defined within a procedure is known only to that procedure. If it has the same name as a variable defined globally, then the local variable is used during the procedure instead of the global one. Global variables are global only within the module they are defined in unless EXPORT is specified. A better way may be to pass the record to P1 as a data structure. --buck
As an Amazon Associate we earn from qualifying purchases.
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.