Cold Help System: Programming: ColdC Reference Manual: Functions: File: files()


LIST files(STRING directory)

This function returns a lit of files in the specified directory. The current and previous directory ("." and "..") are not included in this listing. Each element in the list is a string. Example:

files("html/");
=> ["index.html", "tCD.gif", "Intro", "history.html"]


dblog() | execute() | fchmod() | fclose() | feof() | fflush() | file() | files() | fmkdir() | fopen() | fread() | fremove() | frename() | frmdir() | fseek() | fstat() | fwrite()


the Cold Dark