[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Function
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: Function |
Date: |
Tue, 20 Jul 2010 08:16:48 -0500 |
Hello. This mailing list's language is in English.
2010/7/20 <address@hidden>:
> il programma riguarda il calcolo della succesione di collatz.
> vorrei sapere come salvare il programma, se va bene la sintassi load
> function succ-collatz x(1).
I think you're saying that you wrote the program on the interpreter
itself and now you want to save it to a file (I'm guessing at the
Italian based on similarities with Spanish). This is not normally the
way to work with Octave. Normally you write your program in a file
named something like succ_collatz.m with your text editor of choice
and then you invoke the program from Octave by typing "succ_collatz".
However, anything you typed in the interpreter is saved in
~/.octave_hist when you exit Octave, so you can open that file and
copy the program you typed in there and save it to the m-file of your
choice.
Prego,
- Jordi G. H.
- Function, ROSA . PEPE1, 2010/07/20
- Re: Function,
Jordi Gutiérrez Hermoso <=