File I/O

beginoutput

void beginoutput(string path)

  • path:

browsefilename

integer browsefilename(boolean open=true, string path="", string ext="", string filter=*.*|All Files (*.*)||, string title="")

  • open:
  • path:
  • ext:
  • filter:
  • title:

createfolder

boolean createfolder(string path)

  • path:

deletefile

boolean deletefile(string path)

  • path:

endoutput

void endoutput()

existfile

boolean existfile(string path)

  • path:

fclose

integer fclose(integer filehandle)

  • filehandle:

fget

integer fget(integer filehandle, boolean readall=false)

  • filehandle:
  • readall:

findfile

Collection findfile(string mask)

  • mask:

fopen

integer fopen(string filename, string mode)

  • filename:
  • mode:

fprint

integer fprint(integer filehandle, string text)

  • filehandle:
  • text:

getprofilenumber

string getprofilenumber(string key, integer def=0, string root="")

  • key:
  • def:
  • root:

getprofilestring

string getprofilestring(string key, string def="", string root="")

  • key:
  • def:
  • root:

getspecialpath

string getspecialpath(string name)

  • name:

normalizepath

string normalizepath(string path, boolean backslash=true)

  • path:
  • backslash:

readcsv

void readcsv(Object data, string path)

  • data:
  • path:

readfile

Object readfile(Object file, string sep=",", string mask="\"", boolean labels=true)

  • file:
  • sep:
  • mask:
  • labels:

readxml

XMLNode readxml(string path)

  • path:

setprofilenumber

void setprofilenumber(string key, integer val=0, string root="")

  • key:
  • val:
  • root:

setprofilestring

void setprofilestring(string key, string val="", string root="")

  • key:
  • val:
  • root:

setspecialpath

string setspecialpath(string name, string path)

  • name:
  • path:

writecsv

void writecsv(Object data, string path, boolean nowhitespaces=true)

  • data:
  • path:
  • nowhitespaces:

writefile

boolean writefile(Object data, Object file, string sep=",", string mask="\"", boolean labels=true)

  • data:
  • file:
  • sep:
  • mask:
  • labels:

writexml

boolean writexml(string path, XMLNode rootnode)

  • path:
  • rootnode:

Feedback

Did you find what you needed?

If you have any further questions or suggestions to improve this page, please let us know:

=