Mercurial > forge
changeset 12064:07169c2596f2 octave-forge
or empty sheets echo "Empty" instead of empty range
author | prnienhuis |
---|---|
date | Fri, 27 Sep 2013 18:00:28 +0000 |
parents | c93f5089bda2 |
children | 269bb2780348 |
files | main/io/inst/private/__OTK_spsh_info__.m |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/main/io/inst/private/__OTK_spsh_info__.m Fri Sep 27 17:59:58 2013 +0000 +++ b/main/io/inst/private/__OTK_spsh_info__.m Fri Sep 27 18:00:28 2013 +0000 @@ -21,6 +21,7 @@ ## Updates: ## 2012-10-12 Moved into ./private ## 2012-10-24 Style fixes +## 2013-09-11 For empty sheets echo "Empty" instead of empty range function [sh_names] = __OTK_spsh_info__ (ods) @@ -46,6 +47,8 @@ if (tr) sh_names(ii, 2) = sprintf ("%s:%s", calccelladdress (tr, lc),... calccelladdress (lr, rc)); + else + sh_names(ii, 2) = "Empty"; endif endfor