help-octave
[Top][All Lists]
Advanced

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

Re: Emacs octave mode: Resetting the comment character(s)?


From: forkandwait
Subject: Re: Emacs octave mode: Resetting the comment character(s)?
Date: Mon, 1 Mar 2010 03:41:21 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> This sounds like a bug in octave-mode. Can you please provide a sample
> script to reproduce it?
> 

In the snippet below, LxSq should flush left, but it lines up with the first 
"%" in the textread string.

## Get mortality rates, using only the first 
year                                                                            
[mYear mAge mx qx ax lx dx Lx Tx ex] = \
    textread ([data_path 'DATA/POPREF/mortality/lifetables/age5_year_usa.txt'], 
\
              '%f %s %f %f %f %f %f %f %f %f', 
'headerlines',1);                                                             
              LxSq = reshape(Lx, 24, []);



reply via email to

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