quitting process in prolog ?
Posted: Fri Aug 19, 2011 8:07 am
Hi,
I have come across a TI which does the following in 'Advanced' tab:
Parameter tab - 3 parameters defined
Prolog tab - 4 variables defined
3 different functions used
and there is a function PROCESSQUIT at the end
Metadata tab - 3 variables + 2 functions
Data tab - 5 functions
Epilog - None
Now, my question is:
If a ProcessQuit function is used in Prolog, what is the need to declare and write functions in Metadata/Data tabs.
How does that work?
Won't the process (the entire TI process) quit completely when it encounters the ProcessQuit function?
Please note that the ProcessQuit function is not enclosed in any if/while loop. So, there is no condition that is applied.
I am pretty sure that the ProcessQuit function will get encountered.
Can someone help me on this?
Regards,
RH
I have come across a TI which does the following in 'Advanced' tab:
Parameter tab - 3 parameters defined
Prolog tab - 4 variables defined
3 different functions used
and there is a function PROCESSQUIT at the end
Metadata tab - 3 variables + 2 functions
Data tab - 5 functions
Epilog - None
Now, my question is:
If a ProcessQuit function is used in Prolog, what is the need to declare and write functions in Metadata/Data tabs.
How does that work?
Won't the process (the entire TI process) quit completely when it encounters the ProcessQuit function?
Please note that the ProcessQuit function is not enclosed in any if/while loop. So, there is no condition that is applied.
I am pretty sure that the ProcessQuit function will get encountered.
Can someone help me on this?
Regards,
RH