in reply to Nice style for interesting error messages
If success is uninteresting, then return an uninteresting result, that is, "". Then return the reason for failure (as a string, coded number, whatever) in the case of failure. system() already acts this way so it should not be too confusing for people (that is what documentation is for).
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (tye)Re: Nice style for interesting error messages
by YaRness (Initiate) on Jan 24, 2001 at 23:40 UTC |