Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: ISSOtm on November 10, 2014, 09:07:11 am
-
Hello guys, yesterday I was asked a very important question : "When will the next Friday, 13th be ? How many times will it occur next year ?"
I didn't know the answer, I didn't have any calendar near me, but I had my calculator...
So, there it is, FRIDAY 13 FINDER !
How it works :
- Launch it ;D
- Enter today's date :
- Select the number to change
- Press Enter
- Enter the new value
- Select "Confirm"
- Scroll the list with the left and right keys, hit Enter to validate
- Press any key
- Press any key to skip to next month, or Clear to quit.
And that's pretty much everything about it !
One known bug : when editing a value on the date screen, the display isn't updated, but internally it is.
Features to implement soon :
- Limiting the day value as the months do
- Adding an "Auto Scan" mode which only displays the affected months
Files coming tomorrow !
-
Haha, sounds like a funny little fun idea ^.^
/me wonders if you take like leap years into account
-
Nice and fun utility :D. I tried writing something like this once, but got stuck and forgot about it. Good to see you actually finished this :P
-
Hah I like this idea! Makes me think of this meme:
-
Haha, sounds like a funny little fun idea ^.^
/me wonders if you take like leap years into account
Yes, they are taken into account. Both rules are respected :
Leap years are years that can :
- either be divided by 4 but not by 100 ;
- either be divided by 400.
It doesn't have a super graphical interface, but it is 1970 bytes large :P
Hah I like this idea! Makes me think of this meme:
<AD>
Wanna avoid this kind of dumb situation ?
Don't worry ! We have the perfect tool for you.
FRIDAY 13th FINDER ! Serial killer's best friend.
For two bought, one chainsaw is offered ! Limited offer !
</THIS AD WAS PRODUCED BY ISSO Corp.>
-
The next Friday the 13 is on Feburary 13 which is my birthday suprisingly... :O
-
Lol actually as simple as it might be, this program is a very fun idea. It might be handy sometimes for me when I want to figure out how many days left I have before some satanic entity turns me into a lobster. ;D
-
Haha, sounds like a funny little fun idea ^.^
/me wonders if you take like leap years into account
Yes, they are taken into account. Both rules are respected :
[...]
What about those random day skippings in the past if you look at some occurances in the 19th/20th century :trollface:
-
Lol nice one.
Also does this use the clock functions on the 84+ ? There's a day of week function built in.
-
Haha, sounds like a funny little fun idea ^.^
/me wonders if you take like leap years into account
Yes, they are taken into account. Both rules are respected :
[...]
What about those random day skippings in the past if you look at some occurances in the 19th/20th century :trollface:
No, it is only meant to be used in the 21th century, because calculators did not exist past that point (unless, it is what I think) :P
Lol nice one.
Also does this use the clock functions on the 84+ ? There's a day of week function built in.
No, because it uses assembly, I didn't use this function.
Maybe it is possible, but it currently is quite fast (about half a second to scan a whole month), and I don't think using this feature will speed up the program :/
But, you gave me an idea :
When the calculator implements these time functions, the day isn't asked to.
Will require two programs, though.
NOTICE : I am currently working on a mini-RPG engine for my PUZZLE MASTER program, so this program is in limbo, but shall be back soon !
-
Oh lol I didn't pay attention, I thought it was TI-BASIC. :P
-
Finally debugged and translated the program, yay !
Files downloadable down here \/
BONUS : If you are French, there is a french version available here (https://www.dropbox.com/sh/1nx6olxlrvbleaw/AADOLTyqPgY7-1_3uBU4Iq4xa?dl=0).