Subj : Something unexpected.... To : Gerald Miller From : Jasen Betts Date : Fri Dec 06 2002 09:32 pm Hi Gerald. 04-Dec-02 09:33:49, Gerald Miller wrote to Jasen Betts GM> Previously, you had stated: JB>> :: Next is never used but I'll convert it too :) set JB>> 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? It's not really needed for anything. AFAICT the programs re-computes it from %last and %when as for the leapyear calculation, the easiest way is probablty to just add 366 days and then compare the %@day[] of each date and if they don't match subtract one. that'd convert 29-feb into 1-Mar and handle other leapyear transitions correctly another new type of rule could use next and ignore last and determine the new value for next by adding %when to %next instead of adding it to %today This way if you set it to do somethoing on friday and repeat every 7 days it'd do it every friday. if one got missed it's catch up and then continue to do it on fridays after that. -=> Bye <=- --- * Origin: AAA: Another Aliteration Acronym (3:640/1042) .