next up previous contents index
Next: Display text with special Up: Text Previous: Text

Display text on terminal

For displaying messages and results use STTPUT (SCTPUT). This routine will write a line of text to the user's interactive terminal, as well as to the logfile if logging is enabled (see STECNT). The output is written as a character string followed by a carriage return and line feed. Numeric values must be converted by use of the `internal file'  mechanism of FORTRAN-77 or some other mechanism. Below is an example for using the FORTRAN-77 `internal file' mechanism:

 		 INTEGER       STATUS, IVAL 
CHARACTER*80 OUTPUT
...
WRITE (OUTPUT,100) IVAL
100 FORMAT('The value is', I6)
CALL STTPUT(OUTPUT, STATUS)
...



Send comments to web@eso.org
Last update: 1998-10-23