1. Re: When will Eu be updated again and more

Robert,
what will happen in this sort of case...


mycommon.e:
global constant True = (1 = 1),
                False = (1 = 0)

FILE_A.E:
include mycommon.e
  if ... = True then ...

FILE_B.E:
include mycommon.e
  if ... = True then ...


MainProg.ex:
global constant True = "TRUE",
                False = "False"

include FILE_A.E
include FILE_B.E

==================

In this sort of scenerio, which "True" constant is seen by FILE_A.E code?

Will we have to code something like ...

  if ... = mycommon.True  then ....

And will this be possible in mainProg.ex ...

  if ... = mycommon.True then return MainProg.True

------
Derek Parnell
Melbourne, Australia
(Vote [1] The Cheshire Cat for Internet Mascot)

----- Original Message ----- 
From: "Robert Craig" <rds at RapidEuphoria.com>
To: <EUforum at topica.com>
Sent: Saturday, February 10, 2001 10:53 AM
Subject: Re: When will Eu be updated again and more


> Al Getz writes:
> > Its kind of silly to do much serious or even semi serious coding
> > untill we get some sort of commitment on RDS's part, right?
> > So is there any forsight for us here Rob?
> > Any recommendations for code now in view of any 
> > comming changes?
> 
> The namespace change that I'm planning is very minor.
> No existing code will break. The world does not have
> to come to a halt waiting for this tweak.
> 
> A case that used to generate an error will now be allowed.
> i.e. when a name that's local to a file conflicts with
> a name that's global to the whole program, that will now
> be permitted - the local will override the global within
> the one file. Also, I'll probably support a file name prefix
> to distinguish between globals with the same name 
> in different files.
> 
> Regards,
>    Rob Craig
>    Rapid Deployment Software
>    http://www.RapidEuphoria.com
> 
>

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu