| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Auto string-length determination |
On 03 Nov 96, Paul Edwards wrote to Paul Wankadia --
PW> void main() {
PE> Which besides being ILLEGAL returns RANDOM errorlevels to DOS.
Well now -- I don't know if the Feds will be jumping down my neck just cuz I
declare main() as void :) BTW don't you like Russian Roulette...?
PW> I write my programs properly (sort of). If I NEED to return a value from
PW> my programs, I usually use exit() or something...
PE> exit(x) is as valid as return(x), but I use the latter to avoid
PE> getting a warning message from various compilers. BFN. Paul.
I usually only return values if some sort of critical error occurs. BTW why
would exit() cause a warning?
--- PPoint 2.00
* Origin: Junyer's Workshop (3:640/772.3)SEEN-BY: 633/267 270 @PATH: 640/772 531 201 820 711/409 808 50/99 635/728 633/267 |
|
| 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™.