Mercurial > octave
diff src/toplev.cc @ 9035:57649dcecb55
Documentation cleanup of basics.texi
Added documentation for new block comments feature
Spellcheck
Miscellaneous language cleanup for clarity
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Sat, 21 Mar 2009 08:29:37 -0700 |
parents | eb63fbe60fab |
children | 4d610aba7347 |
line wrap: on
line diff
--- a/src/toplev.cc Sat Mar 21 07:16:24 2009 -0700 +++ b/src/toplev.cc Sat Mar 21 08:29:37 2009 -0700 @@ -1038,10 +1038,10 @@ \n\ @example\n\ @group\n\ -function bye_bye ()\n\ +function last_words ()\n\ disp (\"Bye bye\");\n\ endfunction\n\ -atexit (\"bye_bye\");\n\ +atexit (\"last_words\");\n\ @end group\n\ @end example\n\ \n\ @@ -1052,15 +1052,15 @@ Register or unregister a function to be called when Octave exits,\n\ depending on @var{flag}. If @var{flag} is true, the function is\n\ registered, if @var{flag} is false, it is unregistered. For example,\n\ -after registering the function @code{bye_bye} as above,\n\ +after registering the function @code{last_words} as above,\n\ \n\ @example\n\ -atexit (\"bye_bye\", false);\n\ +atexit (\"last_words\", false);\n\ @end example\n\ \n\ @noindent\n\ will remove the function from the list and Octave will not call\n\ -the function @code{bye_by} when it exits.\n\ +the function @code{last_words} when it exits.\n\ \n\ Note that @code{atexit} only removes the first occurrence of a function\n\ from the list, so if a function was placed in the list multiple\n\