groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] question regarding PIC and variable scoping


From: Werner LEMBERG
Subject: Re: [Groff] question regarding PIC and variable scoping
Date: Tue, 25 Jun 2002 11:38:10 +0200 (CEST)

> Actually, no, your first reply was not in error; it was just
> not the whole story.

It was an error.  Consider this:

  A: [
       x = 5
       X: (x,0)
     ] at (3,3)
  print A.X.x

you'll get 8 and not 5.

> The question is whether there is external access to block variables.
> 
> In the most recent example below, x is not a block variable but is
> external to it. This gives another mechanism for exporting
> calculated values, but not access to block variables.
> 
> A documentation fix is in order, nothing more.

It is now.


    Werner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]