MyC.Io.Finish C# (CSharp) Method

Finish() public method

public Finish ( ) : void
return void
public void Finish()
  {
  rfile.Close();
  ifile.Close();
  if (genlist)
    {
    lst_wfile.Close();
    lst_ofile.Close();
    }
  }

Usage Example

Example #1
0
/* main program */
public static void Main()
  {
  try
    {
    String[] args = Environment.GetCommandLineArgs();
    Io prog = new Io(args);
    Tok tok = new Tok(prog);
    Parse p = new Parse(prog, tok);
    p.program();
    prog.Finish();
    }
  catch (Exception e)
    {
    Console.WriteLine("Compiler aborting: "+e.ToString());
    }
  }
All Usage Examples Of MyC.Io::Finish