Jump to content

API File: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import of API auto-gen
 
Admin (talk | contribs)
XML import API auto-gen
Line 1: Line 1:
wiki page name
wiki page name
==File==
File reading and writing operations


File reading and writing operations
----
===Functions provided for this class===
===Functions provided for this class===
{||-|[[API File.AbsPath|AbsPath]]|Gets an absolute path from a relative filename|-|[[API File.RelPath|RelPath]]|Gets an relative path from an absolute filename|-|[[API File.CreateDir|CreateDir]]|Creates a directory structure|-|[[API File.GetType|GetType]]|Finds the type of a file: 0=Unknown, 1=File, 2=Dir, 4=Disk|-|[[API File.GetSize|GetSize]]|Gets the number of bytes in the file, by handle or name|-|[[API File.Delete|Delete]]|Deletes the file or directory structure|-|[[API File.Create|Create]]|Creates the new file as a standard stream|-|[[API File.Open|Open]]|Opens the existing file as a standard stream|-|[[API File.ReadArray|ReadArray]]|Reads an array from the file, returns elements read|-|[[API File.WriteArray|WriteArray]]|Writes an array to the file|-|[[API File.SetPos|SetPos]]|Sets the position of the next read or write in the file|-|[[API File.GetPos|GetPos]]|Gets the position of the next read or write in the file|-|[[API File.Flush|Flush]]|Writes all unwritten data to the file in one block|-|[[API File.Buffer|Buffer]]|Reads writes and monitors circular buffers|-|[[API File.NVM|NVM]]|Reads from a file as though a block of NVM|}
{||-|[[API File.AbsPath|AbsPath]]|Gets an absolute path from a relative filename|-|[[API File.RelPath|RelPath]]|Gets an relative path from an absolute filename|-|[[API File.CreateDir|CreateDir]]|Creates a directory structure|-|[[API File.GetType|GetType]]|Finds the type of a file: 0=Unknown, 1=File, 2=Dir, 4=Disk|-|[[API File.GetSize|GetSize]]|Gets the number of bytes in the file, by handle or name|-|[[API File.Delete|Delete]]|Deletes the file or directory structure|-|[[API File.Create|Create]]|Creates the new file as a standard stream|-|[[API File.Open|Open]]|Opens the existing file as a standard stream|-|[[API File.ReadArray|ReadArray]]|Reads an array from the file, returns elements read|-|[[API File.WriteArray|WriteArray]]|Writes an array to the file|-|[[API File.SetPos|SetPos]]|Sets the position of the next read or write in the file|-|[[API File.GetPos|GetPos]]|Gets the position of the next read or write in the file|-|[[API File.Flush|Flush]]|Writes all unwritten data to the file in one block|-|[[API File.Buffer|Buffer]]|Reads writes and monitors circular buffers|-|[[API File.NVM|NVM]]|Reads from a file as though a block of NVM|}

Revision as of 15:34, 10 May 2013

wiki page name File reading and writing operations

Functions provided for this class

Constants provided for this class

Examples