octave-maintainers
[Top][All Lists]
Advanced

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

Re: Parsing order for matrices


From: Daniel J Sebald
Subject: Re: Parsing order for matrices
Date: Thu, 18 Oct 2012 11:11:22 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 10/18/2012 04:47 AM, Ben Abbott wrote:
On Oct 18, 2012, at 3:50 AM, Daniel J Sebald<address@hidden>  wrote:
[snip]
octave:28>  [zeros (1, 10)]
parse error:

  syntax error

[zeros (1, 10)]
               ^
[snip]

To preserve the space, I'm I'm the habit of adding an extra set of parentheses

[(zeros (1, 10))]

Ben

I started doing that as well, but it felt like excess with long lines of code.

Should we use parentheses in test scripts then? Or is it alright to leave out the space?

Dan


reply via email to

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