File IO Functions

Aurora has a number of File Input/Output (IO) functions included as standard compiler and library functions. These functions can be grouped as follows:







under construction







top of page

prev

next







OPENFILE(string filename,int mode),unsigned int; CLOSEFILE(unsigned int file); COPYFILE(string src,string dest,int bFail),int; CREATEDIR(string path),int; DELETEFILE(string name),int; READ(unsigned int file,pointer buffer,int cread),int; WRITE(unsigned int file,pointer buffer,int cwrite),int; SEEK(unsigned int file,OPT position=-1q as INT64),int64; READSTRING(unsigned int file,string out,int max),int; FINDOPEN(STRING dir),unsigned int; FINDNEXT(unsigned int handle,OPT pointer attrib),string; FINDCLOSE(unsigned int handle); GETFILELENGTH(unsigned int handle),int64; FILEREQUEST(title as STRING,parent as pointer,nOpen as INT,OPT filter as STRING,OPT ext as STRING,OPT flags as INT,OPT initdir as STRING),HEAP; EOF(unsigned int handle),int;