1. Include.

Robert,

Do you think it would be a possability to add a way to include another file
and that file is not bound with the rest of the program when you bind it?
and the include statement is left in the bound program. that way, the include
file can be updated by the programmer, users or be the program itself.

perhaps: with include

or something similar.
-Mark.

new topic     » topic index » view message » categorize

2. Re: Include.

At 10:22 PM 20-02-1999 , you wrote:
>Robert,
>
>Do you think it would be a possability to add a way to include another file
>and that file is not bound with the rest of the program when you bind it?
>and the include statement is left in the bound program. that way, the include
>file can be updated by the programmer, users or be the program itself.
>
>perhaps: with include
>
>or something similar.
>-Mark.
>

How about:

execute(code)

Where code is the Euphoria code to be executed. The interpreter should run
the code as if it is on a separate include file (namespace). That would be
great for creating an Euphoria shell and CGI scripts. Also chained/piped
execution would be great for preprocesor and optimizers. Given Euphoria's
interpreted nature it would be easy to implemet I think. The only problem I
see is wether global identificators should be allowed on the "run-time
interpreted" code. Perhaps a solution would be:

mycode = execute(code) -- runtime module life begins
...
free_execute(mycode) -- runtime module life ends


Regards,
        Daniel   Berstein
        daber at pair.com

new topic     » goto parent     » topic index » view message » categorize

3. Re: Include.

Is this not the point of DLL's????
that brings me to what i was going to ask ...is there a way to make a
bound E program act like a DLL?? Like using the comand line...Im not
sure how to make a E program run but stay 100% in the background...
that way you can call a exe with a function but only gets ran when you
call it...Like with loaded DLL's...there there but only run when you
want them...

Grape Vine

>From:         Liquid-Nitrogen Software <nitrogen_069 at HOTMAIL.COM>
>Subject:      Include.
>To:           EUPHORIA at LISTSERV.MUOHIO.EDU
>
>Robert,
>
>Do you think it would be a possability to add a way to include another
file
>and that file is not bound with the rest of the program when you bind
it?
>and the include statement is left in the bound program. that way, the
include
>file can be updated by the programmer, users or be the program itself.
>
>perhaps: with include
>
>or something similar.
>-Mark.


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » goto parent     » topic index » view message » categorize

4. Re: Include.

Mark Honnor writes:
> Do you think it would be a possability to add a way to
> include another file and that file is not bound with the
> rest of the program when you bind it?
> and the include statement is left in the bound program.
> that way, the include file can be updated by the programmer,
> users or be the program itself.

With the current bind program that would not be easy.
At some point I may have to do a major overhaul on bind.ex
to improve various things. At that time I'll consider your suggestion.
Until then, maybe you should provide a simple .INI file that
your users can edit, to set various parameters. Your program
could read it in at start-up time.

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu