printf
printf(t_formatString[g_arg1... ] ) =>t
Description
Writes formatted output to poport.
The optional arguments following the format string are printed according to their corresponding format specifications.
printf is identical to fprintf except that it does not take the p_port argument and the output is written to poport.
Arguments
Value Returned
Examples
x = 197.9687 => 197.9687
printf("The test measures %10.2f.\n" x)
Prints the following line to poport and returns t.
The test measures 197.97.
=> t
Related Topics
Return to top