fileClose

C Styled Script
Reference Manual

<< Back  End  Next >>
 
 
INDEX
Introduction
Installation
Using The CSS Executive
Language
Directives
System Library
String Library
Regular Expression Lib.
File Library
   fileClose
   fileCopy
   fileDelete
   fileDelDir
   fileEof
   fileFlush
   fileInfo
   fileLocate
   fileMakeDir
   fileOpen
   fileRead
   fileReadLine
   fileReadPos
   fileRename
   fileTempName
   fileWrite
   fileWriteLine
   fileWritePos
Database Library
C API
C++ API
CSS Links
  
fileClose(
  const handle)   // file handle

Closes a file previously opened by fileOpen. All open files are closed automaticly at CSS termination.

Example:

// show contents of file test.txt
var fh = fileOpen('test.txt', fileOpenRead);
while (!fileEof(fh)) sysLog(fileReadLine(fh));
fileClose(fh);
 Copyright © IBK LandquartLast revised by Peter Koch, 24.02.00<< Back  Top  Next >>