The funny thing about Scott's solution is that CL is totally incidental to the process.
It could have been any other language calling the C file procedures.
I don't think the OP should submit this solution as his answer to his homework assignment.
This mailing list archive is Copyright 1997-2013 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact