Re: symbol resolution (was:EuCOM : Attn Matt : String Return Value)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Pete Lomax wrote:
> 
> Matt Lewis wrote:
> > 
> > Pete Lomax wrote:
> > > 
> > > Matt Lewis wrote:
> > > > 
> > > > I wonder if we're talking past each other?
> It seems we are.
> > > > 
> > > > }}}
<eucode>
> > > > app.ex
> > > >   include main.e main.e
> > > >     global Z
> > > >     include libAmisc.e
> > > >       if Z then
> > > >     include libA.e
> > > >       global Z
> > > >       include libAmisc.e
> > > >          if Z then
> > > >   ? Z -- back in app.ex
> > > > </eucode>
{{{

> > > > 
> > > > I was talking about how to resolve Z.  I'd say that an unqualified Z in 
> > > > this instance should get you main:Z.
>
> My reply assumed you meant the "? Z -- back in app.ex".

Sorry, that was a really bad bit of communication on my part--I *think*
I was mixing stuff around.  The "? Z -- back in app.ex" should be an error.
The "if Z then" in libAmisc.e was what would resolve to main.e.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu