Mercurial > octave-nkf
diff scripts/general/prepad.m @ 10635:d1978e7364ad
Print name of function in error() string messages.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 16 May 2010 22:26:54 -0700 |
parents | 95c3e38098bf |
children | 35adf2a71f3f |
line wrap: on
line diff
--- a/scripts/general/prepad.m Sun May 16 18:28:59 2010 -0700 +++ b/scripts/general/prepad.m Sun May 16 22:26:54 2010 -0700 @@ -70,7 +70,7 @@ endif if (! isscalar (l) || l < 0) - error ("second argument must be a positive scaler"); + error ("prepad: second argument must be a positive scaler"); endif if (dim > nd)