Thomas Treichl wrote: > 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. > >
There are detailed coding standards in the manual. Unfortunately the version of the manual on the website is really out-of-date (how can this be fixed?) so unless you have a recent compiled version of the manual you can read the texinfo source at http://hg.savannah.gnu.org/hgweb/octave/file/tip/doc/interpreter/contrib.txi D. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
