PUTSTR - write a string to an output unit.
Alternate Entry Name: PUT.ST
Usage:
B:
string = putstr( [unit, ] string [, length, padchar] );
/* C programs use "puts" or "fputs" */
Where:
- unit
- is the number of an open output unit. If "unit"
is not specified, the current write unit is used.
- string
- is a pointer to the ASCII string to be printed.
- length
- is the minimum length of "string". If
"string" is shorter than "length", it
will be padded to the correct length with the character
"padchar" on output. If "string" is
longer than "length", it is NOT truncated. If
"length" is not specified, the default is zero
(no minimum length).
- padchar
- is a character to be used to pad "string" on
output (if padding is necessary). If "padchar"
is not specified, the default is a blank.
Description:
PUTSTR writes the string to the given output unit.
Copyright © 1996, Thinkage Ltd.