Subj : Something unexpected.... To : Jasen Betts From : Gerald Miller Date : Sun Dec 08 2002 04:37 pm Hello Jasen, On Friday December 06 2002 at 21:32, Jasen Betts [3:640/1042] wrote to Gerald Miller, about: Something unexpected.... GM>> Previously, you had stated: JB>>> :: Next is never used but I'll convert it too :) JB>>> set date=%@instr[57,8,%@line[%bootfile,%n]] JB>>> set next=%dateconversion GM>> If next is never used, can it now be used for the LYC? JB> It's not really needed for anything. AFAICT JB> the programs re-computes it from %last and %when Okay. I'll remove that section from the source.... :) JB> as for the leapyear calculation, the easiest way is probablty to just JB> add 366 days and then compare the %@day[] of each date and if they JB> don't match subtract one. JB> that'd convert 29-feb into 1-Mar and handle other leapyear transitions JB> correctly I'll give that a try and let you know when I have some success. JB> another new type of rule could use next and ignore last and determine JB> the new value for next by adding %when to %next instead of adding it JB> to %today JB> This way if you set it to do somethoing on friday and repeat every 7 JB> days it'd do it every friday. if one got missed it's catch up and then JB> continue to do it on fridays after that. This is a very interesting concept. Give me some time to test it out. Finally got my Inet connection on Wednesday. E-mail gerald(dot)miller(at)shaw(dot)ca Cheers ... Gerald .... C&W SONG: She's Got Freckles On Her, But She's Pretty --- GoldED+/386 v1.1.5-21201 * Origin: Don't jump on a man unless he's down. (1:342/512) .