print "Enter beginning balance, ";_ "payment, and amount financed, separated "; input " by commas --->$"; i, j, k open "datafile1" for output as #1 print #1, using"$$#####.##,"; i; j; k close #1 print "Data written to file..." endand the input
10000.000,23.450,45.26will create "datafile1", storing the user’s input amounts sequentially as follows:
$10,000.000 $23.450 $45.260
If FileNum is open for random access, an "Illegal function call" error occurs.
If the number of digits specified in StrExpr exceeds 24, an "Illegal function call" error occurs.
If an item in ExprList does not have a type appropriate for its field in StrExpr, a "Type mismatch" error occurs.
from The Basmark QuickBASIC Programmer’s Manual by Lawrence Leinweber