Re: And another thing (VOID in win32lib)...

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

----- Original Message ----- 
From: "Andy Serpa" <ac at onehorseshy.com>
To: "EUforum" <EUforum at topica.com>
Subject: And another thing (VOID in win32lib)...


> 
> 
> The global VOID in win32lib causes a conflict with Diamond.

Sorry.

>  As far as I 
> can tell, VOID is only used a dummy variable internally to win32lib, and 
> could be declared locally in win32lib.ew and winfile.ew without breaking 
> anything?

You are wrong. I use VOID in nearly all my application code. Sure wish I could
get Euphoria to ignore function returns.
 
> VOID is also used a dummy in Diamond, but is also meant to be used by 
> the coder 

Same as win32lib. That's why I created it (before Diamond I believe).

>(for methods that aren't supposed to return values) and has 
> the special property that it is incapable of holding any value other 
> than 0 (via a custom type trick).

I didn't add this sophistication.



-- 
Derek

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

Search



Quick Links

User menu

Not signed in.

Misc Menu