Re: LCC Compilation with the Eu2C translator
- Posted by euman at bellsouth.net Oct 15, 2002
- 355 views
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