From: karan bhatia <address@hidden>
Subject: Re: [Groff] question regarding PIC and variable scoping
Date: Sun, 13 Feb 2000 12:02:10 -0800
[About accessing a GNU pic variable in a block from outside]
...
>
> I think we agree that the above reference implies that i can do
> something like last [].variable. This is exactly the documentation
> i was refering to. So either the documentation should clarify this
> important distinction between variables and labels (and take out
> "variable or") or perhaps there is a way to add that functionality?
This functionality is already available. I've added the following to
pic.ms:
Variables in a block can't be directly accessed from outside; they
must be converted into a position:
A: [
xy = 5;
Xy: (xy,0);
]
print A.Xy.x
Werner