octave-maintainers
[Top][All Lists]
Advanced

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

Re: A few (Octave) ideas


From: Thomas Treichl
Subject: Re: A few (Octave) ideas
Date: Fri, 04 Jun 2010 20:48:27 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4

On 04/06/10 20:44, Jake wrote:
I've seen some of the Octave m files...what is this Octave-style coding?
The two space indentation?

If I remember correctly then this is explained in the Octave manual, examples are:

I used (# is not known by Matlab)
  %# for comments
the Octave-style is
  ## for comments

Matlab uses "end" for all loops, Octave uses
  if .. endif, while .. endwhile, etc.

Regards

  Thomas


reply via email to

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