Openfile

From Mesham

Jump to: navigation, search

Overview

This openfile[n,a] function will open the file of name n with mode of a.

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

Example

var f:=openfile["myfile.txt","r"];
closefile[f];
Personal tools