Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: arithmetic base accepted on output but not input



On Wed, May 14, 2008 at 12:43 PM, Peter Stephenson <pws@xxxxxxx> wrote:

> +       if (pm->base < 2 || pm->base > 36) {
> +           zwarnnam(name, "invalid base: %d", pm->base);
> +           return 1;
> +       }

Could you make the error messages state what range, i.e. 2 to 36,
is allowed, please? Verbose error messages are a great thing :)


Thanks,
Richard



Messages sorted by: Reverse Date, Date, Thread, Author