enum System.IO.FileMode:

   def enum
      CreateNew = 1
      Create = 2
      Open = 3
      OpenOrCreate = 4
      Truncate = 5
      Append = 6.

end enum.
