RE: namespace coflicts: local vs private symbols

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

Al Getz wrote:
> Hello Matt,
> 
> If you check out your code carefully, i dont think you will
> find this to be a namespace error?
> You havent applied a value to x in the PRIVATE procedure,
> so the P() function fails, not the last "?x".
> 
> I thought something was strange here because im pretty sure
> i used that idea several times in programs.
> 
> I'll check it again after setting x equal to some value first
> in the procedure.
> 
> Take care,
> Al
> 
> 
Sorry, this last post was in reply to "Lewis Townsends' " post,
not one of Matt's.

BTW, the following two lines of code never works in Euphoria:

sequence x
x=x+1

but only because x wasnt assigned a value yet.

Take care,
Al

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

Search



Quick Links

User menu

Not signed in.

Misc Menu