[Top][All Lists]

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

[Octave-bug-tracker] [bug #54765] space between function name and openin

From: Mike Miller
Subject: [Octave-bug-tracker] [bug #54765] space between function name and opening parenthesis causes havoc for expression inside brackets
Date: Tue, 2 Oct 2018 01:04:55 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

Update of bug #54765 (project octave):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 


Follow-up Comment #1:

Thanks for your bug report. But this is not a bug, this is the correct
operation of the square bracket syntax for array concatenation in Octave and

Spaces are significant inside of square brackets in the Octave language. The

[sin (0)]

is equivalent to

[sin(), 0]

You can read more about this in the Octave user manual at
http://octave.org/doc/interpreter/Matrices.html. In fact, an example showing a
call to the sin function is used to illustrate how the syntax is parsed.


Reply to this item at:


  Message sent via Savannah

reply via email to

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