List all script files and X-functions in current working directory
X-Function not designed for Auto GetN Dialog.
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
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.
recieve the current working directory
Displays a list of files and subdirectories in current working directory.