![]() It's also fine to use Enums for this once you're familiar with it. which I prefer to call them 'states'.įor example, in the Create event, you'll define a state. What I use is a switch statement with a new variable for each behavior it does. So it needs a statement where it only goes through setting the alarm once. Normally, setting an alarm is just about giving Alarm a value it needs to count down.īut in the Step Event, it would reset the value constantly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |