• Lab 5:
    • Write a primitive that will take in a Midas Blue file (a DataFile) and convert it to a CSV file.
      nM> primlab5 <IN> <OUT>
      nM> primlab5 testxy3000.prm testxy.csv{COLUMNNAMES="ABSC|ORD"}
    • Tips:
      • Do not try to write the entire CSV file by hand using TextFile.
      • DataFile implements the ListFile interface.
      • CsvFile implements the ListFile interface.
      • All the methods you need can be found in the ListFile interface.
    • Be sure to test your primitive on many different files.
    • How hard would it be to make your primitive work with any type of ListFile as either input or output?