1. PQ's RWL lib

I have a suggestion for PQ's RWL lib:

Do it more like Win32's open_dll() and
define_c_xxxx().  Don't have the need for getting the
ids of the params, you should be able to do that
within the lib.

Mike Hurley

=====
Think about it-

Bill Gates has enough money to buy everybody in the world a large
pizza.  Most of us don't even have enough money to buy everybody
in the world a 20 minute phone call for 99 cents!

__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com

new topic     » topic index » view message » categorize

2. Re: PQ's RWL lib

----- Original Message -----
From: Mike Hurley <mike_hurley_2 at YAHOO.COM>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Thursday, April 13, 2000 2:53 PM
Subject: PQ's RWL lib


> I have a suggestion for PQ's RWL lib:
>
> Do it more like Win32's open_dll() and
> define_c_xxxx().  Don't have the need for getting the
> ids of the params, you should be able to do that
> within the lib.
>
> Mike Hurley

I take it into consideration, but this would become new functions and
procedures and
not replacements since getting the id's of params causes more speed.

Thanks,
PQ

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

3. Re: PQ's RWL lib

PQ-

Couldn't you do something like this?

FILE: MYLIB.RWL
ROUTINES: MyProc(XYZ,QWE), MyProc1(QIN), MyProc2(UI),
MyProc3

HAVE THE VARS: (in lib)
sequence file_handles,routine_handles,param_handles
(in program)
atom rwl_hdl,xMyProc,xMyProc1,xMyProc2,xMyProc3
file_handles={}
routine_handles={}
param_handles={}

have an open_rwl() and...
file_handles= {handle}

have an link_proc() and...
param_handles={{{XYZ,QWE},{QIN},{UI},{}}}

when the routine is called through a call_proc() or
equiv., it looks up where to pop the values.

Like for MyProc, you'd do something like:
   call_proc(xMyProc,{Val1,Val2})


Another thing that I'd kinda like would be able to
write some Eu-like code and be able to turn that into
one of your RWL files.  This looks like a very good
project and could allow for DOS what DLL does for
Windows.  Maybe the code be kinda like C--, where you
can have C-based code with inline ASM, denoted with a
$.

Ex. ("C--" like Euphoria)

proc MyProc()
clear_screen()
$ ASM CODE
$ ASM CODE
puts(1,"Finished with proc MyProc().")
end proc

Thanks for reading and hopefully it'll work!
Mike Hurley

=====
Think about it-

Bill Gates has enough money to buy everybody in the world a large
pizza.  Most of us don't even have enough money to buy everybody
in the world a 20 minute phone call for 99 cents!

__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu