print - print value
union generic generic;
Print formats the value given by type, generic (see
generic(inc)) and outputs it to the current file (see initio(io)).
It is legal to write sequentially to a random file provided the write is
entirely within the buffer. Strings are written without modification. Numeric
values are preceded by a blank if non-negative, formatted by numcvt (see
numcvt(io)), and written followed by a blank.
This function implements the value printing capability of the LPRINT,
PRINT and PRINT # statements.
generic(inc), initio(io), numcvt(io)
lprint(stmt), print(stmt), print #(stmt)
Error 5 (Illegal function call) is generated if the file is open for input only.
The Basmark QuickBASIC Programmerís Manual