Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
multiple function
#1
i tried to find this but i couldnt come up with anything.

how do i tell a function that if there is a previous version running kill it and start itself all over from scratch?
#2
shutdown -6 0 "FunctionName" kills all threads started by that function. But you cannot place this in that function because it would kill current thread too. Easy solution - use a launcher function. But maybe you could find something better.

Function Function18Launcher

Code:
Copy      Help
shutdown -6 0 "Function18"
0.5
mac "Function18"

Function Function18

Code:
Copy      Help
out 1
10
#3
just checking.
thanks.


Forum Jump:


Users browsing this thread: 1 Guest(s)