# HG changeset patch # User John W. Eaton # Date 1286488027 14400 # Node ID af03ff97df7ba230d4fb91809bc9c317695421f5 # Parent 2beacd515e09d41cac8c82e7680e0080252ac848 datevec.m: use endfunction to mark end of primary function and subfunctions diff -r 2beacd515e09 -r af03ff97df7b scripts/ChangeLog --- a/scripts/ChangeLog Thu Oct 07 11:27:03 2010 -0700 +++ b/scripts/ChangeLog Thu Oct 07 17:47:07 2010 -0400 @@ -1,3 +1,8 @@ +2010-10-07 John W. Eaton + + * time/datevec.m: Use endfunction to mark end of primary + function and subfunctions. + 2010-10-07 Rik * scripts/polynomial/conv.m: Improve docstring. diff -r 2beacd515e09 -r af03ff97df7b scripts/time/datevec.m --- a/scripts/time/datevec.m Thu Oct 07 11:27:03 2010 -0700 +++ b/scripts/time/datevec.m Thu Oct 07 17:47:07 2010 -0400 @@ -182,7 +182,7 @@ y = [y, m, d, h, mi, s]; endif -### endfunction +endfunction function [f, rY, ry, fy, fm, fd, fh, fmi, fs] = __date_vfmt2sfmt__ (f) @@ -259,7 +259,7 @@ fmi = index (f, "%M"); fs = index (f, "%S"); -### endfunction +endfunction function [found, y, m, d, h, mi, s] = __date_str2vec__ (ds, p, f, rY, ry, fy, fm, fd, fh, fmi, fs) @@ -302,7 +302,7 @@ found = false; endif -### endfunction +endfunction %!shared nowvec %! nowvec = datevec (now); # Some tests could fail around midnight!