Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

VFMT_$WRITE5                      Domain/OS                       VFMT_$WRITE5


NAME
     vfmt_$write5 - formatted write to standard output

SYNOPSIS (C)
     #include <apollo/base.h>
     #include <apollo/vfmt.h>

     void vfmt_$write5(
          char *control_string,
          ...)

SYNOPSIS (Pascal)
     %include '/sys/ins/base.ins.pas';
     %include '/sys/ins/vfmt.ins.pas';

     procedure vfmt_$write5(
          in control_string: univ vfmt_$string_t;
          in a1, a2, a3, a4, a5: univ vfmt_$generic_signed_arg);

SYNOPSIS (FORTRAN)
     %include '/sys/ins/base.ins.ftn'
     %include '/sys/ins/vfmt.ins.ftn'

           integer*2 nchar
           parameter (nchar = 128)

           character control_string*(nchar)
           integer*4 a1, a2, a3, a4, a5

           call vfmt_$write5(control_string, a1, a2, a3, a4, a5)

DESCRIPTION
     Vfmt_$write5 encodes up to five source variables into an ASCII string
     whose format is defined by control_string, and writes the result to stan-
     dard output.

     control_string
          A VFMT format string defining how to format the source variables.

     a1, a2, a3, a4, a5
          Up to five source variables containing data to encode into ASCII.

NOTES
     A string field in control_string requires two source variables:  a char-
     acter array containing the value of the string, and a 2-byte integer
     variable specifying the number of bytes in the string.

SEE ALSO
     vfmt_$write, vfmt_$write10, vfmt_$write2.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026