|
From: | Bill Denney |
Subject: | Re: How do I paste code at the Octave prompt? |
Date: | Wed, 15 Mar 2006 19:37:22 -0500 (EST) |
Bill On Wed, 15 Mar 2006, Keith Goodman wrote:
I often evaluate snippets of code by pasting the snippet into the command window. Pasting this works: for i = 1:10 disp(i) end But pasting this doesn't work: for i = 1:10 if i > 4 disp(i) end end I getfor i = 1:10if i > 4Display all 2165 possibilities? (y or n)d end------------------------------------------------------------- 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 -------------------------------------------------------------
-- "Let me play with it first and I'll tell you what it is later." -- Miles Davis ------------------------------------------------------------- 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 -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |