On Tue, Dec 6, 2011 at 4:36 PM, vlad777
<address@hidden> wrote:
I guess my main question is:
How do I manipulate objects in memory created on previous lines?
(BTW many thanks for replies)
--
Think of it as writing code one line at a time:
octave-3.2.4.exe:1> a = 5
a = 5
octave-3.2.4.exe:2> b = a^2
b = 25
Note that as you want to code anything substantial, you'll want to put all the lines you want to execute in a script in a file, say foo.m with the lines in foo.m:
a = 5;
b = a^2;
Then when you type "foo", it will execute those lines just like you had typed them in.
Hope this helps.