D - Another question about imports
- Deja Augustine (7/7) Mar 19 2003 I was curious if imported files were transparent, as in if A imports B a...
- Burton Radons (2/11) Mar 19 2003 Yes.
- Deja Augustine (2/13) Mar 19 2003 yes it will work, or yes it is necessary?
- Burton Radons (3/20) Mar 19 2003 Yes.
I was curious if imported files were transparent, as in if A imports B and C imports A, can C access B through A? hm... that looks confusing, let me qualify it with some pseudocode: B: int y; A: import B; int x; C: import A; A.B.y = 3; A.x = 4; Will that work or is it necessary for C to import B directly to access y?
Mar 19 2003
Deja Augustine wrote:I was curious if imported files were transparent, as in if A imports B and C imports A, can C access B through A? hm... that looks confusing, let me qualify it with some pseudocode: B: int y; A: import B; int x; C: import A; A.B.y = 3; A.x = 4; Will that work or is it necessary for C to import B directly to access y?Yes.
Mar 19 2003
In article <b5aaqo$300s$1 digitaldaemon.com>, Burton Radons says...Deja Augustine wrote:yes it will work, or yes it is necessary?I was curious if imported files were transparent, as in if A imports B and C imports A, can C access B through A? hm... that looks confusing, let me qualify it with some pseudocode: B: int y; A: import B; int x; C: import A; A.B.y = 3; A.x = 4; Will that work or is it necessary for C to import B directly to access y?Yes.
Mar 19 2003
Deja Augustine wrote:In article <b5aaqo$300s$1 digitaldaemon.com>, Burton Radons says...Yes. ... It'll work, imports are imported.Deja Augustine wrote:yes it will work, or yes it is necessary?I was curious if imported files were transparent, as in if A imports B and C imports A, can C access B through A? hm... that looks confusing, let me qualify it with some pseudocode: B: int y; A: import B; int x; C: import A; A.B.y = 3; A.x = 4; Will that work or is it necessary for C to import B directly to access y?Yes.
Mar 19 2003