Re: LCC Compilation with the Eu2C translator

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

Hey Derek,

this is as shortest as I could come up with:

<snip>
without type_check
without warning
with trace

include Win32Lib.ew --beta 57.12

trace(1)

global integer  
      xScreen, 
      yScreen

xScreen = getSystemMetrics(SM_CXSCREEN) -- screen width
yScreen = getSystemMetrics(SM_CYSCREEN) -- screen height

<snip>

Euman
euman at bellsouth.net

================================================================== 
----- Original Message ----- 
From: "Euman" <euman at bellsouth.net>
To: <EUforum at topica.com>
Sent: Monday, October 14, 2002 6:44 PM
Subject: Re: LCC Compilation with the Eu2C translator


> 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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu