Re: for: bug or feature? (2 of 2)

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

Andy Kurnia writes:
> Why are the loop variables called 'global & local'???

Because in your example they were not declared inside any
procedure/function/type.

> Why are they called '& local'? Locals are in the proc, no?

That's C's terminology.

Euphoria's terminology:
      private: declared inside a procedure/function/type
      local:  visible within one file only
      global: (using 'global' keyword) visible in other files too

> Are the last for loop values supposed to be in the dump?

Yes.

The same name will appear multiple times in ex.err when
you use the same name in multiple for-loops.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://members.aol.com/FilesEu/

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

Search



Quick Links

User menu

Not signed in.

Misc Menu