❔ What did I do wrong with this task formation?
I want to make an infinite method that generates a random number for a "slot machine". I also have to be able to stop it upon click of a button to finalize a number.
The vital code is this:
4 Replies
the function Numbers() doesnt work when a part of task. if i put it as is it works.
what am i supposed to do then
i repurposed it to
It still does not display any numbers on initial press.
i dont know? lemme see
i did
its not showing anything so its not running
but when i try to do task.Start() it says that its running on promise-style
so when does it run?
what do i check for exactly? in the locals or?
yes it does stop at the breakpoint. and it does get deeper into the actual number set of a textbox.
the application does not reflect that for some reason
by that i mean that no numbers are showing (they are showing if i call numbers() without the task)
so i have to out an int for that?
its now working correctly! thanks
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.