[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: |
Mon, 30 Jul 2012 14:57:35 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
c. <carlo.defalco <at> gmail.com> writes:
> you're better off
> writing the signature in the m-file and printing it
> with "print_usage ()"
I try to do this, but oftentimes I am playing around with different versions of
a function, and the comment-documentation gets out of sync with the actual
function definition.
(Plus writing the "signature" in the docs violates the Don't Repeat Yourself
rule to define it twice, but not in a hugely annoying way...).
Thanks for the other suggestions, by the way.
tx!