File.listFiles(sourcePathFile,silent)

Returns the files of the given directory EXAMPLE testfile as Fuego.Io.File = Fuego.Io.File("/tmp/testfile.txt") result2 = testfile.listFiles(sourcePathFile : "/tmp", silent : true) for each f1 in result2 do display f1.name end // Displays each of the files that are in /tmp

Arguments:

Name Type Description Mode
sourcePathFile String source pathname. in
silent Bool Ignore error.Optional in