get_last_test_output

The get_last_test_output function retrieves the test output for the last test or tests that were run. If multiple cards are being used in a group, then it returns the output for all of them concatenated. Because the return string is limited to 80 characters, this function returns a "page" of text at a time. It is typically called inside a loop to continue retrieving pages of output until they have all been retrieved.

If no project has been opened or no functions have been run, then the function returns successfully.

Parameters
none
Return number
The number of pages of output still to retrieve. Keep calling the function until this value is zero.
Return string
The next page of output from the last test or tests that were run.

Example

loop
    xdcall "xjtag1", "get_last_test_output", Num, RTN$
    print RTN$
exit if Num = 0
end loop