1. ESL project

I've posted the esl modules to the archive, and they can be retrieved from there
if D. wants to use them for the project.  I guess now I'll need something else to
do, any suggestions?

Jeremy

Edmund Burke: "All that is necessary for evil to triumph is for good men to do
nothing."

new topic     » topic index » view message » categorize

2. Re: ESL project

Jeremy Peterson wrote:
> 
> I've posted the esl modules to the archive, and they can be retrieved from
> there
> if D. wants to use them for the project.  I guess now I'll need something else
> to do, any suggestions?  
> 
> Jeremy
> 
> Edmund Burke: "All that is necessary for evil to triumph is for good men to
> do nothing."

WHAT!!

It just took you a day to start and finish all the proposed ESL modules thus
far?

Why don't you wrap the entire OGRE 3D engine. That might only take you a couple
days while it would take me several months!

Sorry, your extremely fast development really make me jealous and feel like a
poor coder.


Regards,
Vincent

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

3. Re: ESL project

I guess I'm just a fast typist.  You're not a bad coder yourself though, looking
at the stuff you've posted: VEEU, Dynamic Include Library, Euphoria Version
Detection Library, Structure Library.

Jeremy

Edmund Burke: "All that is necessary for evil to triumph is for good men to do
nothing."

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

4. Re: ESL project

J> I've posted the esl modules to the archive, and they can be
J> retrieved from there if D. wants to use them for the project.  I
J> guess now I'll need something else to do, any suggestions?  

Yes, especially the routines in filesys.e.


global function copy_file(sequence fromfile, sequence tofile)
if exists(fromfile) = 0 then
	return 0
end if
if writef(tofile, readf(fromfile)) then
	return 1
end if

That means RAM is needed as much as 4 times the file size.

global function delete_file(sequence filename)
        atom a
        sequence rc
        rc = {}
if platform() = WIN32 or DOS32 then
  rc &= "del "
  rc &= filename
  system(rc, 2)


You should use system call for win32 and linux, that is much more
reliable.


global function move_file(sequence source, sequence dest)
sequence cs cs = {}

if copy_file(source, dest) then 
        if delete_file(source) then


Moving is not the same as copy+delete. The OS can optimize moving
files by changing the file pointer only.



global function rename_file(sequence fromfile, sequence tofile)
sequence cs cs = {}

if copy_file(fromfile, tofile) then     
        if delete_file(fromfile) then
                return 1
        end if


Likewise for this.

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

5. Re: ESL project

I had had those functions use api calls, but it seemed faster the other way.  I
can easily change that though.

Jeremy

Edmund Burke: "All that is necessary for evil to triumph is for good men to do
nothing."

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

6. Re: ESL project

Jeremy Peterson wrote:
> 
> I've posted the esl modules to the archive, and they can be retrieved from
> there
> if D. wants to use them for the project.  I guess now I'll need something else
> to do, any suggestions?  
> 

Port Edita to wxEuphoria.

Matt Lewis

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

Search



Quick Links

User menu

Not signed in.

Misc Menu