![]() TASK_EXIT() |
![]() DEVELOPER |
![]() |
|
|
Purpose |
TASK_EXIT() automatically links to the Task Exit or Task Error function and return error codes. |
Syntax |
TASK_EXIT (Err# {‘U’, <message string>|<argument list>}) |
Operation |
Err# is the error message number. In the case of a screen, it may be displayed on the screen.
argument list is an optional list of values to be inserted into parameterised error message. If the second argument is not ‘U’, then there is no argument list. |
Remarks |
If an error number is supplied, it is presumed to be an error number with a message defined for the function. |
Example |
TASK_EXIT (200, {‘U’, “Task not ready"}) - |
Topic ID: 520127