Subj : Remote - Local Time synchro To : Gerald Miller From : Jasen Betts Date : Wed Jul 31 2002 07:27 pm Hi Gerald. 28-Jul-02 08:12:28, Gerald Miller wrote to Jasen Betts GM> Hello Jasen, GM> On Sunday July 21 2002 at 07:11, GM> Jasen Betts [3:640/531.42] wrote to Gerald Miller, GM> about: Remote - Local Time synchro GM> Sorry for the delay [snip] no problem. GM>>> This sounds appealing... Would you provide an example? [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] yeah, that's what I meant. (A was assumingthe local and remote as HH:MM:SS abd using the wrob gunction to convert... (I should have tested it) [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.... oops, it's missing a "then" iff %correction lt -1 then ~~~~~~ JB>> elseiff %correction gt i GM> Is the above line a "typo"? no, a syntax error: it needs a "then" too... (ooops again) GM>>> This doesn't work, yet I can't see where my error is.... try those edits, they seem to work here. -=> Bye <=- --- * Origin: Hindsight is an exact science. (3:640/531.42) .