Jaroslav, The changes you made are better than mine, but also broke the end method. Fix attached. Thanks. Bob -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: hg.polynomialexample Url: https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090602/d070e94b/attachment.ksh