On 8/17/97 9:26 PM, Jeremy Elson (jelson@CIRCLEMUD.ORG) stated: >The buffer system seemed like a really good idea at the time, but for >this exact reason it seems like a lot more trouble than it's worth. >I'll take a look at your system. Unfortunately, I kind of like the >return-style more than the if-else-else-else-else..... style, because >I think the return style is easier to read and write. What about labels/goto? Not sure if they are ANSI C tho... You know, ACMD(do_pour) { ... if (blahblah) goto end_do_pour; // was return; ... end_do_pour: // finish up and return; } +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST