Close

From Mesham
Revision as of 15:44, 15 April 2019 by Polas (talk | contribs) (4 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Overview

The close(f) function will close the file represented by handle f

  • Pass: A File handle
  • Returns: Nothing

Example

#include <io>

function void main() {
   var f:=open("myfile.txt","r");
   close(f);
};

Since: Version 1.0