If your OS is win95 or win98 then you can get away with reading/writing to the parallel and serial ports directly. In Delphi 1 (16bit) this was simplified by having a port array that you could read/write. Later (32bit) versions dropped this feature so you'd have to find your own way to the IO...
The following procedure parses a record from a .csv file and passes back the fields read in the Strings parameter.
This works with .csv files exported from Excel etc. Null fields, fields containing comma's and double quotes etc are all parsed correctly.
procedure ReadCSVRecord(var CSVFile ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.