Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted by ConfluenceCloudBulkEditor.py

...

Returns a string array with all of the files found.

Examples

...

languagetext
// Get list of files in a directory.

...


int $i, $count;

...


string $path = "c:/data/day/";

...


string $files[];

...


// Get all the c3d files in the directory

...


$files = `getFileList $path -pattern "*.c3d"`;

...


// Get the number of files returned

...


$count = `getCount $files`;

...


// Operate on each file

...


for( $i = 0; $i < $count;

...

$i += 1 )

...

{

...

// Do something with the file

...


// ...

...

// ...

...


}

Additional information

Related commands

...