Hello, I got a strange error and tried to debug it: -1->dv dv = 2014. 8. 31. 8. 0.
Is the third element more than the number of days in the month? -->eday = eomday(2014, 8) eday = 31. -1->incmon = find(dv(:, 3) > eday) incmon = 1. But both are integers 31.: -1->[dv(3), eday] ans = 31. 31. So why these: -1->dv(3) > eday ans = T -1->dv(3)==31. ans = F -1->dv(3) - 31. ans = 3.881D-11 Regards Stefan _______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users