Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QB64 crash!?
#3
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$
Reply


Messages In This Thread
QB64 crash!? - by eoredson - 12-21-2022, 03:27 AM
RE: QB64 crash!? - by SMcNeill - 12-21-2022, 04:26 AM
RE: QB64 crash!? - by eoredson - 01-10-2023, 07:30 AM
RE: QB64 crash!? - by johannhowitzer - 12-21-2022, 04:27 AM
RE: QB64 crash!? - by SMcNeill - 12-21-2022, 04:31 AM
RE: QB64 crash!? - by Pete - 12-21-2022, 04:36 AM



Users browsing this thread: 1 Guest(s)