Re: LCC Compilation with the Eu2C translator

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi Rob, All.

If the length of an atom is not defined then of course you would expect

pObject (in the below routine) to fail as an atom

BUT,,,

global constant --  a registered constant value in Win32lib
  user_val = 99 -- obligitory

procedure proc( object pObject )
   if atom(pObject) then
      -- do something
   else
      -- We always wind-up here even if (pObject) is an atom, why?
    end if
end procedure

proc(user_val)

Win32lib is cluttered with such code...

I havent found any of my API programs that are unable to compile/run
when using LCC so, Win32lib has to be where the problem lies.
Im still wondering why if a constant is declared and has a value registered 
with Win32lib (before your call to the procedure for test) that you would 
have such problems. 
 
This confuses me!

[6 yrs of Euphoria programming and I still dont get Win32lib]

Euman
euman at bellsouth.net

==================================================================
================================================================== 
----- Original Message ----- 
From: "Euman" <euman at bellsouth.net>
To: <EUforum at topica.com>
Sent: Sunday, October 13, 2002 7:48 PM
Subject: LCC Compilation with the Eu2C translator


> Hello all,
> 
> Using various LCC compiler versions [99-02]:
> I have come to the conclusion that LCC does not agree with
> 
> procedure proc( object hi_val )
>    if atom(hi_val) then
>       -- do something
>    else
>       -- We always wind-up here even if (hi_val) is an atom, why?
>     end if
> 
> and will crash on any instance you would check for an atom.
> This really seems to me to be a more Euphoric problem than LCC..?
> 
> [Dont forget I have the interpreter code...maybe I'll figure this out.]
> 
> Rob??? anyone?
> 
> BTW, Im not recieving any forum messages again, maybe this problem
> is my ISP and not TOPICA...however, it has been a TOPICA problem
> in the past...
> 
> Rob???
> 
> Euman
> euman at bellsouth.net
> 
> ==================================================================
> ==================================================================  
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu