[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-function signature -- command to show?
From: |
fork |
Subject: |
Re: M-function signature -- command to show? |
Date: |
Fri, 27 Jul 2012 21:18:44 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Jordi Gutiérrez Hermoso <jordigh <at> octave.org> writes:
>
> On 27 July 2012 16:08, fork <forkandwait <at> gmail.com> wrote:
> > Is there a command to show the signature of a function in an m-file?
>
> Functions don't have signatures. sin(1,2,3) is a valid function call
> as far as the interpreter is concerned. It's up to the sin() function
> to decide if it should throw an error or not for being called with
> more than one argument.
>
> So, no.
Is the text of the function stored somewhere that a function could get it?
tx