Re: Rob Idea for dynamic include

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

I would rather say it was a choice of Robert not to implement dynamic
includes.
There a few down sides .. really.

First of all .. you would need to make a little effort in the error handling
part.
Conditional includes would only make sense when routine overloading is
enabled and a condtionally included file can only *overload* global
routines, not add any new ones.

Imagine the confusion when you have compile time errors that appear on
'some' of the runs .. wouldn't that be .. like asking for trouble ?

Ralf N>


----- Oorspronkelijk bericht -----
Van: Bernie Ryan <LockCityData at CS.COM>
Aan: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Verzonden: maandag 28 februari 2000 15:37
Onderwerp: Re: Rob Idea for dynamic include


> On Sun, 27 Feb 2000 20:00:53 -0500, Irv Mullins <irv at ELLIJAY.COM> wrote:
>
> >Wouldn't it be clearer to just allow us to use:
> >if CONDITION then
> >   include thisfile.e
> >end if
> >
>
>   Irv:
>       The idea that I was trying to get across was the fact that
>       it would take a minuimal amount of effort and code by ROB to
>       implement the feature in Euphoria. The keyword allows the
>       interpreter to by-pass 1 comment operator and that is all.
>       It does not break any old code and does not require a lot
>       of parsing code.
>
>   PS: Did you try sending a PAINT message to your listbox
>
>   Also rett it is not necessary to send the same message to the user
>   and the list, most of us monitor the list.
>
>   Bernie
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu