Gerald Richter wrote:
> 
> >
> > I have tried restarting the server, with the same result (i.e. no
> > error).
> > I also tried putting the [$ var $] declaration inside the [$ sub $],
> > with no difference.
> >
> 
> Mmmh, does it give an error if you put $yyy outside of the sub ?

So, like this:

[$ var $xxx $]
[- $yyy = 1 -]
[$ sub foo $]
   [-
        $xxx = 1;
        $yyy = 2;
   -]
[$ endsub $]

Yes, that generates the expected error (Global symbol "$yyy" requires
explicit package name at line 2). I hadn't tried that. So it looks like
this has something to do with being inside a [$ sub $]...

Thanks again,

-Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to