| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Something unexpected.... |
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=%{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?
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 %{at}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)SEEN-BY: 633/267 270 @PATH: 342/512 5 140/1 106/2000 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™.