Liste des Groupes | Revenir à cl tcl |
In article <vletuv$17djb$1@dont-email.me>, saito <saitology9@gmail.com> wrote:
...I can't help but think that this may be related to your post regarding
time calculation. I had left this quote in my reply:
>There is an interesting "octal" problem left as an exercise>
This was exactly the exercise as well. "clock format" leaves leading
zeros in the result depending on what time it was. It is missing "string
trimleft" calls which I'd discovered after some test runs before posting.
It is, in fact, related to that other thread. In fact, I had developed an
entirely different solution to that problem (very short, in fact) which had
been running fine for a few weeks until it happened to hit the dreaded "08"
and crashed. I fixed that basically by adding code using "regsub" to
remove any leading zero before doing the calculations.
I'll have to take a look at "string trimleft".
Les messages affichés proviennent d'usenet.