You are browsing as a guest. Sign up (or log in) to start making projects!

8h 31m 5s logged

recuring there is a lot (btw i already wrote all of this and acidently deleated it :nvs:)


reacuring check types

  • on load
    • when the code realoads it will go through and check if any items need to be updated
    • i made it so if it finds a task that needs to be updated it will reafrech and start over so a task can be updated multible times if needed
  • on mark off
    • this will only check one task when you mark off a task
    • this will aslo by pass the alow multi

alow multi
* this will make it so when a task is duplicated it will either set the old task to 0 or just deleate it
* this is marked in the code as the higher of 2 numbers while checking rec type


rec types

  • normal
    • this is a type that will not recure and is the only one able to be fully deleated
    • this is marked by a 0 in the code
    • this will be skipped by both reacuring types
  • by due date
    • this to to make a task the will eather run every day or every other day
    • this types has a second variabe called delay witch changes how often the task will show up ie dalay =1 means every day, delay =2 means every other day
    • this is marked as 1 or 2 in the code
    • on the on load check this will check if (due date + delay) < current date if it is it will duplicate the task to due date + delay
    • on mark off for this task will just duplicate teh task to due date + delay
  • on compleate
    • this is used for task that just need to be done betwenn compleations
    • this is marked as 3 in the code becouse it canot have multibles
    • this also have a number called delay
    • this is skiped by the on load check
    • on mark off this task will just duplicate it self to current date + delay
  • on week day
    • this is for tasks that need to be compleated on specifice week days
    • this task has a number that is between 0-127 insted of a delay because it can be converted in to a 7 digit binary string that means reapeate on dayes with 1 and not on 0
    • this is marked as 4 or 5
    • on load it will task the due date then search for the next valid date and then will check if the date is before the current date if it is before it will duplicate its self there
    • on mark off works the same just it doent check if the date is before current
  • on month day
    • this is for tasks thatneed to happen on a month by month basses
    • this stores a number from 1-28 witch is the date that it will apere on the month
    • this is marked in the code as 6 or 7 :67:
    • this work in a very simmilar way to the on week day
    • it will take the due date then add one untill it finds a valid date and if it is onload it will check if the current date ia after the new date
    • in the futre i might make it so that if you put 0 in the date it will just run the last day of the month

perminat delete

each tsk has a button to open the edit menu and you can deteate a task from the edit menu witch will skip all duplicating

0
6

Comments 0

No comments yet. Be the first!