TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: BILL BIRRELL
from: HERMAN SCHONFELD
date: 1998-04-12 09:08:00
subject: Event Handler

 >    a) Make MAX_EVENTS something small that borland can
 > handle
 >    b) Remove the module example, it is a module,
 > remember.
 >        I just put it there to test it out.
 >    c) If MAX_EVENTS > MAX_INT perhaps you should make
 > "int i" (from
 >        `PROCESS_TIME()') a long, as the loop would
 > never finish. I will admit
 >       that I bumped up the value for MAX_EVENTS
 > (smaller than MAX_INT) to
 >       a larger value.
 > Apart from that it should work.
BB>    Yup. I did all that routinely, Herman, but 'for' loops require an
BB>int as control variable, don't they?
Since when?  Most compilers accept non-standard code, so there's no use 
bitching about ansi-c rules, is there? Why? Because I really don't care. If 
it compiles and works efficiently it good enough for me.
BB>Never mind ...I'll look it up for
BB>myself. No ... a long would be OK. All scalar type are permitted.
You'll look what up for yourself? Make sense.
BB>    I don't have Borland. The only model that could handle it was the
BB>Microsoft
BB>huge model or a 32 bit compiler. Nevertheless, it did eventually run.
BB>Some days I have nothing better to do. :-)
Took a while, but congratulations. How does it feel to actually get some code 
running for the first time? Pretty good, eh?
... Does Windows NT come with a hard drive?
--- Ezycom V1.48g0 01fd016b
---------------
* Origin: Fox's Lair BBS Bris Aus +61-7-38033908 V34+ Node 2 (3:640/238)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.