PKG_ADD, mark_as_command, and core functions?

John W. Eaton jwe at bevo.che.wisc.edu
Fri Jan 4 14:01:06 CST 2008


On  4-Jan-2008, Ben Abbott wrote:

| I've noticed PKG_ADD was used in savepath.m as
| 
| ##PKGADD: mark_as_command savepath
| 
| Is it necessary, or desirable, to add this to other functions intended  
| to be part of Octave?

Only if they are expected to be called as "commands".  Savepath is
marked this way because

  savepath filename

is supposed to be valid syntax.

jwe


More information about the Octave-maintainers mailing list