Mercurial > hg > octave-nkf
diff src/pt-assign.cc @ 13867:922bfdd80413
Clean up help about old flags for debug variables
* debug.m: Change the wording about old flags into new functions
* pt-assign.cc (maybe_warn_former_built_in_variable): Clarify wording
about assigning values to functions.
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Mon, 14 Nov 2011 21:50:16 -0500 |
parents | fd0a3ac60b0e |
children | fafd2f45bfa5 |
line wrap: on
line diff
--- a/src/pt-assign.cc +++ b/src/pt-assign.cc @@ -157,7 +157,12 @@ const char *nm_c_str = nm.c_str (); warning_with_id ("Octave:built-in-variable-assignment", - "%s is now a function instead of a built-in variable. By assigning to %s, you have created a variable that hides the function %s. To remove the variable and restore the function, type \"clear %s\"", + "\ +In recent versions of Octave, %s is a function instead\n\ +of a built-in variable.\n\n\ +By assigning to %s, you have created a variable that hides\n\ +the function %s. To remove the variable and restore the \n\ +function, type \"clear %s\"\n", nm_c_str, nm_c_str, nm_c_str, nm_c_str); } }