[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62417] Function form of 'format' undocumented
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #62417] Function form of 'format' undocumented and errors on format names with spaces |
Date: |
Mon, 9 May 2022 13:22:43 -0400 (EDT) |
Follow-up Comment #6, bug #62417 (project octave):
correct, matlab errors on format('short e'):
>> format shorte
>> format short e
>> format('short','e')
>> format('short e')
Error using format
Invalid format option short e.
except for the latter, the above all make the same format change to:
a = format
a =
DisplayFormatOptions with properties:
NumericFormat: "shortE"
LineSpacing: "loose"
so, all their documentation list as single words, but they accept two-word
format states except for the function call.
All of Octave's documentation list the format states as two words. There is no
mention of a 'shorte' option, just 'short e'. Since Short and E are separate
format specifiers, this does make some sense, and needing to send them to the
function form as two separate strings makes sense in that context.
Maybe then this is primarily a documentation problem.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62417>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62417] Format names misspelled in documentation of format(), Georg Wiora, 2022/05/05
- [Octave-bug-tracker] [bug #62417] Format names misspelled in documentation of format(), Rik, 2022/05/09
- [Octave-bug-tracker] [bug #62417] Format names misspelled in documentation of format(), Georg Wiora, 2022/05/09
- [Octave-bug-tracker] [bug #62417] Format names misspelled in documentation of format(), Nicholas Jankowski, 2022/05/09
- [Octave-bug-tracker] [bug #62417] Function form of 'format' undocumented and errors on format names with spaces, Nicholas Jankowski, 2022/05/09
- [Octave-bug-tracker] [bug #62417] Function form of 'format' undocumented and errors on format names with spaces, Nicholas Jankowski, 2022/05/09
- [Octave-bug-tracker] [bug #62417] Function form of 'format' undocumented and errors on format names with spaces, John W. Eaton, 2022/05/09
- [Octave-bug-tracker] [bug #62417] Function form of 'format' undocumented and errors on format names with spaces,
Nicholas Jankowski <=
- [Octave-bug-tracker] [bug #62417] 'format' errors on names with spaces when calling with function form, Nicholas Jankowski, 2022/05/10
- [Octave-bug-tracker] [bug #62417] 'format' errors on names with spaces when calling with function form, Nicholas Jankowski, 2022/05/10
- [Octave-bug-tracker] [bug #62417] 'format' errors on names with spaces when calling with function form, John W. Eaton, 2022/05/10
- [Octave-bug-tracker] [bug #62417] 'format' errors on names with spaces when calling with function form, Rik, 2022/05/10
- [Octave-bug-tracker] [bug #62417] 'format' errors on names with spaces when calling with function form, Nicholas Jankowski, 2022/05/10
- [Octave-bug-tracker] [bug #62417] 'format' errors on names with spaces when calling with function form, Nicholas Jankowski, 2022/05/10
- [Octave-bug-tracker] [bug #62417] 'format' errors on names with spaces when calling with function form, Markus Mützel, 2022/05/10
- [Octave-bug-tracker] [bug #62417] 'format' errors on names with spaces when calling with function form, Nicholas Jankowski, 2022/05/10
- [Octave-bug-tracker] [bug #62417] 'format' errors on names with spaces when calling with function form, John W. Eaton, 2022/05/11
- [Octave-bug-tracker] [bug #62417] 'format' errors on names with spaces when calling with function form, Markus Mützel, 2022/05/11