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.*";
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.