
-----------------------------------
shorthair
Wed Sep 01, 2004 1:56 pm

How can i kill My Fork
-----------------------------------
im forking time in a procedure , but when i got bakc to hte menu IT FOLLOWS ME THERE , 


procedure Time
loop
fork Time.Date
end Loop
end Time


them im calling it in as


fork Time 


BUT how do i kill it once im done looking at it , i need it to stop forking ,

-----------------------------------
Tony
Wed Sep 01, 2004 3:37 pm


-----------------------------------
just like with any loop. flag condition.


exit when flag


and when you no longer need the loop running, you set the flag variable to true and that will terminate the loop

-----------------------------------
Mazer
Wed Sep 01, 2004 5:00 pm


-----------------------------------
Are you sure you should be forking a process from inside the loop? And is Time.Date even a process?

-----------------------------------
AsianSensation
Wed Sep 01, 2004 5:36 pm


-----------------------------------
exit, return, all works. Just make sure you have a flag, turn it true, and then exit or return.

-----------------------------------
Mazer
Wed Sep 01, 2004 6:46 pm


-----------------------------------
Exit is for loops, return is for the whole procedure/process.
