1. RE: Evolving/Learning AI progs (was RE: Let me try once more)
- Posted by Tony Bucholtz <tony_bucholtz at HOTMAIL.COM>
Feb 01, 2001
-
Last edited Feb 02, 2001
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
2. RE: Evolving/Learning AI progs (was RE: Let me try once more)
- Posted by tony_bucholtz at HOTMAIL.COM
Feb 01, 2001
-
Last edited Feb 02, 2001
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
3. RE: Evolving/Learning AI progs (was RE: Let me try once more)
- Posted by Kat <gertie at PELL.NET>
Feb 01, 2001
-
Last edited Feb 02, 2001
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
4. RE: Evolving/Learning AI progs (was RE: Let me try once more)
- Posted by Kat <gertie at PELL.NET>
Feb 01, 2001
-
Last edited Feb 02, 2001
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
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
6. RE: Evolving/Learning AI progs (was RE: Let me try once more)
- Posted by gebrandariz <gebrandariz at YAHOO.COM>
Feb 02, 2001
-
Last edited Feb 03, 2001
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