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

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

[Octave-bug-tracker] [bug #59377] Command syntax could be more clearly d


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #59377] Command syntax could be more clearly documented
Date: Wed, 28 Oct 2020 16:20:59 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Update of bug #59377 (project octave):

              Item Group: Missed Error or Warning => Documentation          
                 Summary: Undocumented behavior for size, possibly a missed
error or warning => Command syntax could be more clearly documented

    _______________________________________________________

Follow-up Comment #1:

It's a general feature of the langauge that could probably be more clearly
documented.  If you call any function using "command" syntax, like


size 12345


It is parsed and evaluated as if you had written


size ("12345")


Any update to the docs should also attempt to explain the weird rules for
Matlab compatible parsing of these kinds of expressions.  For example,


Inf -13   %% => Inf ('-13') => invalid call to Inf
Inf - 13  %% => subtraction => Inf() - 13



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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