List all script files and X-functions in current working directory
X-Function not designed for Auto GetN Dialog.
1. dir;
2. dir pattern:="*.txt";
3. dir pattern:="a?c.*";
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
pattern |
Input string |
|
pattern to match, such as empty, *, abc (same as abc.*), a*, a*.h, *.oxf, or a?c (same as a?c.*) dir with no argument is special and lists only runnable files like oxf and ogs, as well as directories. | |
cwd |
Output string |
|
recieve the current working directory |
Displays a list of files and subdirectories in current working directory.