print function executes index.m in CWD
Dmitri A. Sergatskov
dasergatskov at gmail.com
Fri Sep 5 20:27:45 CDT 2008
I think I know what happened.
When I have index.m in the current directory it
shadows off the index.m function from strings
package.
The strings package (and function index()) is being
used by octaverc.
I do not know what the situation with Matlab.
Does it have index.m somewhere (I cannot find it on the web)?
Does it have the pernicious feature to execute index.m
in current directory (or perhaps in all directories in the path)?
We definitely have a conflict here and I do not know what is the best
way to solve it: do we rename index() function into something else
(I would suggest idx())?
Sincerely,
Dmitri.
--
More information about the Bug-octave
mailing list