octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #62417] 'format' errors on names with spaces w


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #62417] 'format' errors on names with spaces when calling with function form
Date: Wed, 11 May 2022 01:11:01 -0400 (EDT)

Follow-up Comment #17, bug #62417 (project octave):

I think the main point or confusion comes from exactly what was stated in
comment #0. The documentation explicitly lists those format names as two word
names. 

'short e'
'short eng'
'long e'
'long eng'
'short g'
'long g'

The documentation even renders them in a single set of quotations in some
contexts (at least with help format) by using @code for the list, making it
appear a single string with the space as a character in it.  In almost every
other function, a specified option name is a single string entered to activate
said option. This is the only place I've seen where that isn't the case.  

Now, this is only an issue with the function calling form of format, which
until this report I had never considered using, and that calling method wasn't
even documented until today. But now that it is a published method, it seems
that "an error will occur if you call the option the way it appears we've told
you to do so" should be documented if the behavior is to be kept.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62417>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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