FAQ: Difference between revisions

158 bytes added ,  21 November 2011
(→‎How do I...?: do xxxx? using lookfor() and auto-complete to find a function name)
Line 229: Line 229:
     octave:2> hello_string ("Moon")
     octave:2> hello_string ("Moon")
     ans = Hello Moon
     ans = Hello Moon
As a natural extension of this, functions can also be defined in script files (m-files whose first non-comment line isn't <tt>function out = foo (...)</tt>)


===Comments with #===
===Comments with #===