12-21-2022, 04:27 AM
I don't even need to run it to tell what will happen - the second line of the function is recursively calling the function, which repeats infinitely. Change the function to do this instead:
c$ = "date/time is:"
clock$ = c$ + date$ + " " + time$
c$ = "date/time is:"
clock$ = c$ + date$ + " " + time$