Subj : Remote - Local Time synchro To : Jasen Betts From : Gerald Miller Date : Sun Aug 11 2002 09:32 am Hello Jasen, On Wednesday July 31 2002 at 18:27, Jasen Betts [3:640/531.42] wrote to Gerald Miller, about: Remote - Local Time synchro It took a considerable amount of time for your reply to get to me.... [snip] GM>> The above line(s) gave me problems..... I was able to get it to GM>> work by changing it to: GM>> set correction=%@eval[(%remotetime - %localtime + 43200) %= GM>> %% 86400 - 43200] JB> yeah, that's what I meant. (A was assumingthe local and remote as JB> HH:MM:SS abd using the wrob gunction to convert... (I should have JB> tested it) Silly me. I had presumed that you did test it. JB> [snip] JB>>> iff %correction lt -1 GM>> When the batch gets to the above line, there is an error because GM>> the batch file gets loaded into my editor and is on the above GM>> line.... JB> oops, it's missing a "then" JB> iff %correction lt -1 then JB> ~~~~~~ JB>>> elseiff %correction gt i GM>> Is the above line a "typo"? JB> no, a syntax error: it needs a "then" too... (ooops again) The missing "then" aside, I was meaning that the (letter) "i" should possibly be a (digit) "1"???? GM>>>> This doesn't work, yet I can't see where my error is.... JB> try those edits, they seem to work here. By the time you receive this message, you will probably have seen _my_ version of the complete TESTIME.BTM.... I _had_ to use some of your knowledge to get it to work and I do wish to express my appreciation for your insight. Thanks ... Gerald --- GoldED+/386 v1.1.5-20808 * Origin: I'm telling you, they are EVERYWHERE! (1:342/512) .