The first version of the economic of recyclable materials in municipal solid waste analysis program was developed in interpretive BASIC by Rutgers the State University of New Jersey. Since BASIC is a line interpretative language several restrictions were encountered, the major one being the language size restriction.
The first objective was to obtain a truly portable program that would not be dependent on specific compilers and operating systems. The second objective was to generate a program that had the capability for expansion.
The C language was used over other high level languages such as PASCAL and FORTRAN because it had specific advantages over them. The language C has better file handling and ability to analyze character strings.
Comparison and analysis of each code (BASIC and C) was executed using the identical data sets. The same results were obtained in each case indicating the program conversion was successful.
It was concluded that the second version of this Economic Analysis Program is more suitable than the first one because of improved file manipulation and file checking.
|