Write formatted output into the given file, this subroutine does emulate the C/C++ stdio function vfprintf(), additional to the arguments required for formatting, it also needs the channel number of the already opened file as first argument.
SYNTAX:
VFPrintF ch%, fmt$, vargs$
INPUTS:
ch% (INTEGER)
- The channel number of the file to write into. This file must be already opened for output/write access.
fmt$ (STRING)
- Any string literal or variable, which can contain any escape sequences known to C/C++ and formatting tokens known to the standard library function printf().
vargs$ (STRING variable)
- A variable args string made with the SUBs/FUNCTIONs in qbstdarg.bm, which must contain all required arguments in the very same order as the respective formatting tokens appear in the given format string.
ERRORS:
- If fmt$ is empty or vargs$ is no valid va_list string, then this function will write a blank line.