Public feed #604292

Lk

public text v1 · immutable
Raw Edit
·published 2007-07-05 12:42 UTC
rendered paste body
FileStream pearCSV, roundCSV;
StreamReader sr;
bool dateset;
// load the pear prices into pear matrix
try
{
    pearCSV = new FileStream("pear.csv", FileMode.Open);
}
catch (IOException ex)
{
    MessageBox.Show("round.csv missing!\nCannot continue...");
    Application.Exit();
}
sr = new StreamReader(pearCSV);
            
dateset = false;
strLine = sr.ReadLine();
while (strLine != null)
{