Returns the latest job sent to Scilab engine
BOOL GetLastJob(char *JOB,int nbcharsJOB);
This fonction returns the latest job sent to Scilab engine with the command SendScilabJob or SendScilabJobs. This can be used to display a command which failed.
BOOL is just a simple typedef on int (typedef int
BOOL
). TRUE is defined on 1 (#define TRUE 1
)
and FALSE is defined on 0 (#define FALSE 0
).
a standard C char* which will be filled with the latest job
The number of char of JOB
1 (TRUE) if the operation is successful.
0 (FALSE) if an error during initialization occurred.