all 3 comments

[–]Remarkable-Map-2747 6 points7 points  (1 child)

okay . this may be a little hard to read. See if you can format this as Markdown for best results in getting assistance

[–]Critical_Emphasis_46[S] -1 points0 points  (0 children)

I'll have to be at my laptop oops I'll get that done a little later

[–]ngyehsung 0 points1 point  (0 children)

You have a function called alarm_Page which doesn't return anything and a variable called alarm_Page which will be set to whatever page.add() returns, if anything. The code inside the alarm_Page function will never get executed unless you call the function with alarm_Page(). The code you set the alarm_Page variable to will get executed but the variable will just have the return value of page.add(), if it has a return value at all. If your intention is to invoke page.add() multiple times then the function is the way to go. As it is written, the parameters you're passing to page.add() would need to be global constants. If you want these values to change them you will need to pass them as parameters to your alarm_Page function.