TIP: Click on subject to list as thread! ANSI
echo: 4dos
to: Gerald Miller
from: Jasen Betts
date: 1995-12-06 21:32:04
subject: Something unexpected....

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=%{at}instr[57,8,%{at}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 %{at}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)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/1 379/1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.