OriginLab Corporation - Scientific Graphing and Data Analysis Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis

dir

Contents

Brief Information

list script (ogs) and x-functions (oxf) in current working directory.

Additional Information

X-Function not designed for Auto GetN Dialog.

Command Line Usage

1. dir;

2. dir pattern:="*.txt";

3. dir pattern:="a?c.*";

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
pattern

Input

string

<unassigned>

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

<unassigned>

recieve the current working directory

Description

Displays a list of files and subdirectories in current working directory.

Related X-Functions