help-octave
[Top][All Lists]
Advanced

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

Re: syntax for eye(X) and Matlab compatibility


From: Paul Kienzle
Subject: Re: syntax for eye(X) and Matlab compatibility
Date: Mon, 15 Mar 2004 21:49:47 -0500


On Mar 15, 2004, at 7:24 PM, E. Joshua Rigler wrote:

I always thought I was coding in a style appreciated by many Octave
users when I placed a space between my function and its parameter list.
I guess I'll have to rethink this in order to avoid the problem
illustrated by the example above.

It used to be that the interpretation of spaces within a concatenation
would depend on the the status of a flag.  For that reason, a lot of
us have been coding defensively for a while, and avoiding any
spaces there at all.  Furthermore, conformant code should be
comma separated rather than space separated.

If it were my choice, I would flag all ambiguous cases with a warning
so that people remove them from their code.

Paul Kienzle
address@hidden



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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