fileCreate(var.s dir)
Create new file with directory dir
.
fileDelete(var.s dir)
Delete file with directory dir
.
fileRename(var.s oldDir, var.s newDir)
Rename file from oldDir
to newDir
.
fileCopy(var.s aDir, var.s bDir)
Copy file from aDir
to bDir
.
fileReadWord(&var.s word, var.s dir, var.i i)
Read i
-th word from file, if there are less words than i
it reads last.
fileWriteWord(var.s word, var.s dir, var.i i)
Write i
-th word to file, if there are less words than i
it adds it to end.
fileReadLine(&var.s line, var.s dir, var.i i)
Read i
-th line from file, if there are less lines than i
it reads last.
fileWriteLine(var.s line, var.s dir, var.i i)
Write i
-th line to file, if there are less lines than i
it adds it to end.
fileGetFilesInDirectory(&var[] paths, var.s dir)
Get paths
to files in directory dir
.