# /listvar

Usage:

/LISTVAR [-mmatching] [-gxsv] [name [value]]

Options:

-mmatching
  Determines matching style used for comparison of name and value. If omitted, the style is determined by %{matching}.
-g
  List only global (unexported) variables.
-x
  List only variables that are exported to the environment.
-s
  Short format: list variable names only.
-v
  List values only.

/Listvar lists values of variables whose name and value match name and value according to matching. If neither `-g` nor `-x` is given, global and environment variables are listed.

The return value of /listvar is the number of variables listed.

See: variables, /set, /setenv, /export, /let, /unset

Back to index
Back to tf home page

Copyright © 1995, 1996, 1997, 1998, 1999, 2002, 2003, 2004, 2005 Ken Keys