Re: routine_id

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

EU>It's not just 'bots' - almost any program of worthwhile
EU>length runs into this namespace thingy. If we use other
EU>people's includes; Jiri's fonts, for example, we have
EU>to tread carefully. It even becomes a challenge to create
EU>meaningful but non-conflicting names for our own routines
EU>in multiple files.
EU>I hereby re-submit for further discussion my versions of
EU>how it might be handled:

EU>with fonts do -- where fonts.e is an include
EU> set_background(BLUE)
EU> ..bla..
EU>end with

EU>with mywin do -- and mywin is another include
EU>  set_background(BLACK)
EU>end with

EU>or, less verbosely (in some cases, more in others)
EU>fonts.set_background(BLUE)
EU>mywin.set_background(BLACK)

EU>Irv

Good idea. I'll try to add that to EPP. I think Euphoria could use Java
like object orientation.

Jeffrey Fielding
JJProg at cyberbury.net
http://members.tripod.com/~JJProg/

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

Search



Quick Links

User menu

Not signed in.

Misc Menu