next up previous contents index
Next: Initializing SIC: The Command Up: SIC Programming Manual Previous: SIC Programming Manual

Introduction

SIC (*) is a command line interpretor, written in FORTRAN and callable as a subroutine by any program. It provides a command language rather similar to the VAX-VMS DCL language, with the following major features:

This section concerns the programmer who wants to use SIC as the monitor of a simple or complex, evolutive, documented interactive program. It assumes that the reader is already familiar with all capabilities of SIC, so that he should be able to design a program (or better a system) around the SIC monitor.

It is in fact essentially a ``CookBook'' giving a list of recipes to build a program using SIC, or interface SIC with a preexisting ensemble of routines. Following these recipes should result in a complete success, that is, a program fulfilling the following requirements:

The section 2.2 describes the command vocabulary structure, and the initialization sequence of SIC. Section 2.3 gives the archetype of the structure of a program using SIC as its monitor. Section 2.4 indicates how to write the corresponding HELP files. Section 2.5 describes how to retrieve arguments from a SIC command line. Section 2.6 indicates how to complete the program so that it can also be a library of routines. Finally, Section 2.7 indicates how to use SIC variables, and Section 2.9.1 give all entry points of the SIC monitor.

SIC programming interface is designed for the Fortran language. Interfacing with C language requires some system dependent precautions concerning argument passing mechanism, in particular for character strings.


next up previous contents index
Next: Initializing SIC: The Command Up: SIC Programming Manual Previous: SIC Programming Manual
Gildas manager
2002-06-07