next up previous contents index
Next: Library Only mode Up: SIC Programming Manual - Previous: Linking on Linux: TO   Contents   Index

The Library Version

Once you have completed the previous operations, an interactive system is available. The system can also be used in batch or within command procedures. Each command handled interactively can also be executed from a program, using either exec_command (for simple commands), or exec_program (to execute a procedure, or complex commands calling such procedures).

   call exec_command{command,error}
   call exec_program(command)
where command is a character string containing the command to be executed. exec_command is reserved to execute atomic commands, and return an error in case of problems. On the other hand, exec_program is typically called with command= '@ MyProcedure'. It cannot return an error, but the procedure or code being executed must have its own error handling mechanism.


Gildas manager 2014-07-01