TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: andrew clarke
from: Paul Edwards
date: 1996-10-07 15:17:42
subject: using ctrlbrk()

> Didn't you know you could put a return statement in a void function?
> Especially used if you want to return from multiple places within the
> function.  Personally I put it in all the time, to avoid getting
> warnings from IBM's C/370 compiler, which thinks that it's a good
> idea to always put them in.

ac> That's one paranoid compiler you have over there!  :-)

Yes, I don't expect to be warned about not having a return in a void
function!  I saw an explanation once - something silly, I think along the
lines "you may have forgotten to write the last bit of code (which
would include a return)".  BFN.  Paul. 
@EOT:

---
* Origin: X (3:711/934.9)

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