Next: Display text with special
Up: Text
Previous: Text
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)
...