1. RE: Evolving/Learning AI progs (was RE: Let me try once more)

G'day all

I know I'm not as young as I used to be, but my Mk.1 eyeballs (assisted by 
Mk.2 spectacles) still work OK. I don't see any calls to ex.exe (or anything 
else, for that matter) in this code. All I see is writes to a text file. So 
my original question still stands - how does this thing do what it does 
*without* calling the interpreter?

Regards
Tony

new topic     » topic index » view message » categorize

2. RE: Evolving/Learning AI progs (was RE: Let me try once more)

G'day all

CLICK!! That was the light going on. Putting the include at the *end* of 
the code is pretty sneaky... won't work under WIN32 version, eh?

Regards
Tony

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

3. RE: Evolving/Learning AI progs (was RE: Let me try once more)

On 1 Feb 2001, at 22:11, tony_bucholtz at HOTMAIL.COM wrote:

> G'day all
> 
> CLICK!! That was the light going on. Putting the include at the *end* of 
> the code is pretty sneaky... won't work under WIN32 version, eh?

What happened when you tried it?

Kat

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

4. RE: Evolving/Learning AI progs (was RE: Let me try once more)

On 1 Feb 2001, at 22:11, tony_bucholtz at HOTMAIL.COM wrote:

> G'day all
> 
> CLICK!! That was the light going on. Putting the include at the *end* of 
> the code is pretty sneaky... won't work under WIN32 version, eh?

Say, Robert,, what if "include" wasn't a top level statement, what if we could
put the
"include" statement in the program flow in a procedure or function, like in a
loop or in a
windows event? And it didn't crash if the file was locked in a write at that
moment, but
returned '-1' so we could put the include in a "while" loop to get it when it
was free?

Kat

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

5. RE: Evolving/Learning AI progs (was RE: Let me try once more)

G'day all, and hi, Kat!

That wasn't very clear, was it? Yep, e! works fine under Win32. What I 
meant to say (badly) was that using this method in a full-blown Win32 
proggy (event driven, opened main window, etc) probably wouldn't work - 
how would the code get to the "trailing" include file? You'd need some 
sort of event handler to run the thing, as that's how Win32lib etc seem 
to work under Eu. Of course, I'm not any kind of windoze programmer, so 
I could be wrong... again...

BTW, I agree with you that includes in the code wherever required would 
be nice.

Regards
Tony

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

6. RE: Evolving/Learning AI progs (was RE: Let me try once more)

Robert,

----- Original Message -----
From: Robert Craig <rds at RapidEuphoria.com>
To: <EUforum at topica.com>
Sent: Friday, February 02, 2001 3:00 PM
Subject: Re: Evolving/Learning AI progs (was RE: Let me try once more)


> Kat writes:
>  > Say, Robert,, what if "include" wasn't a top level statement,
> > what if we could put the "include" statement in the program
> > flow in a procedure or function, like in a loop or in a
> > windows event?
>
> That would be insane.
>
> Regards,
>    Rob Craig
>    Rapid Deployment Software
>    http://www.RapidEuphoria.com

Would it? I've written a few Web pages myself, and, being more of a
programmer than a designer, I've always tended to build my pages
dynamically, generally using Perl for CGI (sorry, no Eu available where I
used to work) and JavaScript.

And several times I found it convenient to detach some pieces of code and/or
declarations onto separate, reusable files -call them proto-libraries- which
I 'included' into the main sequence as I saw fit, by means of <script
src=..> statements that could well fall inside whiles, ifs or whatever. It
worked fine for me.

Gerardo



Do You Yahoo!?

Get your free @yahoo.com address at http://mail.yahoo.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu