B: prompt( [ unit, ] format, arg1, arg2, ... );
C: void prompt([FILE* unit,] const char *format, ...);
PROMPT uses the given "format" string and arguments to prepare a prompting line for "unit". If "unit" has an associated output unit (i.e. you are reading from the terminal in TSS or from the console in batch) and the next call to GETCHAR would cause a new line to be read from that device, the prompting line is printed as output. Under any other conditions, the prompting line is thrown away.
Copyright © 1996, Thinkage Ltd.