Can I switch a bool object from another function. I am writing a function that advances a clock a certain number of minutes.
If the hours end up being more than 12, I need to switch my bool variable that determines whether it is am or pm. So if it's 4am and I add 9 hours (540 minutes), I need to switch the bool from true to false.
Can I do that?