help-octave
[Top][All Lists]
Advanced

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

Scripts within functions


From: José Vallet
Subject: Scripts within functions
Date: Mon, 10 Oct 2011 16:45:42 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15

Hello.

Is it possible to define and use scripts within functions?

I'd like to move some blocks of code (scripts) to the end of the file and then call the scripts in different parts of the function. The purpose is simply for cleanness of the code.

I know that I can define functions inside functions. That is not what I want, as in this particular case the list of input and output arguments would get too complicated.

BR
Jose


reply via email to

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