[an error occurred while processing this directive]

The following examples use task FIX from file fibonacci.rap. This task computes fixed points for Fibonacci numbers (fib(n) = n).

If you start running the task FIX using the Run button in main window, you'll see the following:

This is the initial state of the Run window. You can:

After pressing Next Result, the RAP system displays the first solution of task FIX which is of course 1 for fib(1) = 1.
Now the run is active and can be aborted using Abort Run. After this the run window is returned into its initial state.
And for there is output now you are able to save the contents of the output panel to a text file using Save to a file. Note: The output panel is editable so you can manually preformat or insert comments before you save the text.

Now we have restartet the run again, but this time in Debug mode. Now all debug mode functions are available and you have the following choices:

Sometimes running a task requires awesome lots of computing time, especially when all optimizations are turned off. In this case it can be useful to interrupt the underlying process.
An example: After finding three fixed points, the task FIX will not return because in entire N fib(n) has no more fixed points. The task will therefore run infinitely, so it has to be stopped.
By pressing Kill Task the underlying process is removed by force. This especially means the current run has been terminated. Nevertheless, the run window is still open, for you might wish to save the solutions found so far.

This is how the run window looks like after the task has been killed. You'll have to reopen the run window if you want to try running this task again.
Note: During Kill Task there are no I/O-stream available for a short time, because the process feeding the streams has been removed. So sometimes there occures an error of type "RAP I/O streams caused unexpected error". This means no harm if it appears only here. If it also appears after Next Result or Debug, then something important will have gone wrong. In that case, restart JAVA-RAP.

back to contents

[an error occurred while processing this directive] 31-Jul-2012, 14:17:23 CEST