[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] question regarding PIC and variable scoping
From: |
karan bhatia |
Subject: |
[Groff] question regarding PIC and variable scoping |
Date: |
Sun, 13 Feb 2000 01:20:10 -0800 (PST) |
The following generates an error:
P: [val = 10];
x = P.val;
the variable val is defined only within the context of the object named P.
But according to the documentation, variable scoping works like object
scoping and the above should work fine. for example, object scoping works
similarly:
P: [Q: box]
x = P.Q.x;
Is the fact that variables are not accessible outside of the object a bug?
or am i missing some important notation? Thanks for your time...
- karan
- [Groff] question regarding PIC and variable scoping,
karan bhatia <=