Difference between revisions of "Open"

From Mesham
Jump to navigationJump to search
(Created page with '== Overview == This open(n,a) function will open the file of name ''n'' with mode of ''a''. * '''Pass:''' The name of the file to open of type String and mode of type [[Str…')
(No difference)

Revision as of 13:08, 13 January 2013

Overview

This open(n,a) function will open the file of name n with mode of a.

  • Pass: The name of the file to open of type String and mode of type String
  • Returns: A file handle of type File

Example

#include <io>
var f:=open("myfile.txt","r");
close(f);