octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Uppercase hex format?


From: Mike Miller
Subject: Re: Uppercase hex format?
Date: Thu, 10 Oct 2019 17:16:40 -0700
User-agent: Mutt/1.10.1 (2018-07-13)

On Thu, Oct 10, 2019 at 20:01:27 -0400, Nicholas Jankowski wrote:
> seems like a fairly low risk expansion of capability. Is there any case
> someone can think of where this would cause a conflict of some kind?  Will
> it need to extend to any other I/o or math functions?

One risk is that Matlab's format command is case insensitive. The
command "format HEX" is identical to "format hex". Some day someone may
ask for Octave's format command to accept case insensitive arguments for
compatibility.

I generally think that having different options that only differ in case
is a bad interface. A better option might be something like "format
hexupper" or "format hex upper".

-- 
mike

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]