TIP: Click on subject to list as thread! ANSI
echo: public_domain
to: Paul Edwards
from: Paul Markham
date: 1994-02-23 18:29:18
subject: try

PE> #define TRY(x) if (ALLOK) (x)



 PE> That way you can write:



 PE> func1();

 PE> if (ALLOK)

 PE> {

 PE>     TRY(func2());

 PE>     TRY(func3());

 PE>     TRY(func4());

 PE> }



The problem here is the lack of consistency. In some places you have to use
'if (ALLOK)' and in other 'TRY(...)'.





Paul



--- GoldED/2 2.42.G1114

* Origin: It's life Jim, but not as we know it (3:711/934.1)
SEEN-BY: 635/514 640/305 711/809 934
@PATH: 711/934

SOURCE: echomail via fidonet.ozzmosis.com

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™.