1. Linux Beta Release Now Available

The Linux Euphoria 2.2 beta release is now available
from:

      http://www.RapidEuphoria.com/v20.htm

The release notes are at:

      http://www.RapidEuphoria.com/relnotes22.htm

Several new library routines were added, and these will
also be added to WIN32+DOS32.

After some beta-testing time, there will be an
Official Release for Linux 2.2, followed by a
2.2 beta release for WIN32+DOS32, followed
by a 2.2 Official Release for WIN32+DOS32 that
will bring the 3 platforms into sync. After that I expect
to do some platform-independent things, such as
namespace improvements.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://www.RapidEuphoria.com

new topic     » topic index » view message » categorize

2. Re: Linux Beta Release Now Available

I just noticed the define_c_var() function is part of the Linux and Win32
libraries. Does this work with data structure elements as well? I hope so -
it would make the job of porting the GTK and xlib stuff a *lot* easier.

-- David Cuny

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

3. Re: Linux Beta Release Now Available

David Cuny writes:
> I just noticed the define_c_var() function is part of
> the Linux and Win32 libraries. Does this work with
> data structure elements as well? I hope so -
> it would make the job of porting the GTK and xlib stuff
> a *lot* easier.

I'm not sure I can implement define_c_var() on WIN32.
I've only implemented it for Linux so far. On Win32 I'm
using the API routine GetProcAddress() to get .dll routine
addresses, but there doesn't seem to be any
"GetVarAddress". On Linux, there's a routine that handles
both vars and routines. It gives you the base address
of a variable, but it doesn't know anything about
C structure elements (i.e. fields and their offsets).

Regards,
     Rob Craig
     Rapid Deployment Software
     http://www.RapidEuphoria.com

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

4. Re: Linux Beta Release Now Available

On Sun, 24 Oct 1999 19:55:14 -0400, Robert Craig <rds at ATTCANADA.NET> wrote:

>I'm not sure I can implement define_c_var() on WIN32.

Rob

Why can't you just return the results of the "C" address operator ?

  -- allocate the variable or get it from some where then

  example -- return &the_variable

That would work on any platform that has a "C" compiler.

Bernie

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

5. Re: Linux Beta Release Now Available

Bernie Ryan writes:
> Why can't you just return the results of the "C"
> address operator ?

I could hard-code: &bernie
into the source code  of exw.exe, and I could
link against any .dll that exports "bernie", but for
define_c_var() I need to *dynamically* create a string
at run-time containing the name of *any* variable that
you choose, and then I have to somehow get the
address of that variable for you. In Linux it's easy.
In WIN32 there's no obvious way to do it. Maybe when
I start working on WIN32+DOS32 again
I'll find a non-obvious way.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://www.RapidEuphoria.com

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

6. Re: Linux Beta Release Now Available

On Sun, 24 Oct 1999 21:30:21 -0400, Robert Craig <rds at ATTCANADA.NET> wrote:

>define_c_var() I need to *dynamically* create a string
>at run-time containing the name of *any* variable that

Rob
    HGLOBAL  GlobalAlloc( UINT uflags, DWORD, dwBytes)

    allocates bytes off the heap the flags tell if you want it to be fixed
    removable,  discardable, etc.

    define_c_var(char *var_name)
    {
     return GlobalAlloc( GMEM_FIXED, sizeof(var_name) )
    }

Bernie

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

7. Re: Linux Beta Release Now Available

----- Original Message -----
From: Bernie Ryan <bwryan at PCOM.NET>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Sunday, October 24, 1999 9:38 PM
Subject: Re: Linux Beta Release Now Available


> On Sun, 24 Oct 1999 21:30:21 -0400, Robert Craig <rds at ATTCANADA.NET>
wrote:
>
> >define_c_var() I need to *dynamically* create a string
> >at run-time containing the name of *any* variable that
>
> Rob
>     HGLOBAL  GlobalAlloc( UINT uflags, DWORD, dwBytes)
>
>     allocates bytes off the heap the flags tell if you want it to be fixed
>     removable,  discardable, etc.
>
>     define_c_var(char *var_name)
>     {
>      return GlobalAlloc( GMEM_FIXED, sizeof(var_name) )
>     }

Or do it in Eu like i did: make a sequence, store the var name in the first
subseq and the contents as the second subseq. To find the var again, look at
each odd-numbered subseq,, the value will be in the next subseq,, and that
value can be an array of sequences too.

Kat

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

8. Re: Linux Beta Release Now Available

Rob
  PS
   I forgot to put the string in to the allocated memory
   but you get the idea of what I mean.
Bernie

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

9. Re: Linux Beta Release Now Available

On Sun, 24 Oct 1999 22:08:30 -0500, Kat <KSMiTH at PELL.NET> wrote:
>each odd-numbered subseq,, the value will be in the next subseq,, and that
>value can be an array of sequences too.
>
>Kat


   Rob is talking about inside his compiler not in Euphoria

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

10. Re: Linux Beta Release Now Available

The Linux Euphoria is compatible with Linux Slackware 4.0 ?

Marcos Antonio Gambeta
mag at starknet.com.br
marcos_gambeta at hotmail.com

----- Original Message -----
From: Robert Craig <rds at ATTCANADA.NET>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Saturday, October 23, 1999 6:24 PM
Subject: Linux Beta Release Now Available


> The Linux Euphoria 2.2 beta release is now available
> from:
>
>       http://www.RapidEuphoria.com/v20.htm
>
> The release notes are at:
>
>       http://www.RapidEuphoria.com/relnotes22.htm
>
> Several new library routines were added, and these will
> also be added to WIN32+DOS32.
>
> After some beta-testing time, there will be an
> Official Release for Linux 2.2, followed by a
> 2.2 beta release for WIN32+DOS32, followed
> by a 2.2 Official Release for WIN32+DOS32 that
> will bring the 3 platforms into sync. After that I expect
> to do some platform-independent things, such as
> namespace improvements.
>
> Regards,
>      Rob Craig
>      Rapid Deployment Software
>      http://www.RapidEuphoria.com
>


--
[This message was sent using an evaluation copy of
IMail Server for Windows NT, a product of Ipswitch, Inc.]

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

11. Re: Linux Beta Release Now Available

Yes!!!!!!

On         Fri, 29 Oct 1999 11:30:57 -0200, Marcos Antonio Gambeta wrote:

> The Linux Euphoria is compatible with Linux Slackware 4.0 ?
>
> Marcos Antonio Gambeta
> mag at starknet.com.br
> marcos_gambeta at hotmail.com
>
> ----- Original Message -----
> From: Robert Craig <rds at ATTCANADA.NET>
> To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
> Sent: Saturday, October 23, 1999 6:24 PM
> Subject: Linux Beta Release Now Available
>
>
> > The Linux Euphoria 2.2 beta release is now available
> > from:
> >
> >       http://www.RapidEuphoria.com/v20.htm
> >
> > The release notes are at:
> >
> >       http://www.RapidEuphoria.com/relnotes22.htm
> >
> > Several new library routines were added, and these will
> > also be added to WIN32+DOS32.
> >
> > After some beta-testing time, there will be an
> > Official Release for Linux 2.2, followed by a
> > 2.2 beta release for WIN32+DOS32, followed
> > by a 2.2 Official Release for WIN32+DOS32 that
> > will bring the 3 platforms into sync. After that I expect
> > to do some platform-independent things, such as
> > namespace improvements.
> >
> > Regards,
> >      Rob Craig
> >      Rapid Deployment Software
> >      http://www.RapidEuphoria.com
> >
>
>
> --
> [This message was sent using an evaluation copy of
> IMail Server for Windows NT, a product of Ipswitch, Inc.]

What has the near functionality of a PDA at a tenth the cost?

...Give Up?

The Game Boy
DragonEagle's Gameboy Developement Page
http://www.gbdev.org/DragonEagle




________________________________________________________________
Get FREE voicemail, fax and email at http://voicemail.excite.com
Talk online at http://voicechat.excite.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu