$variable-names - Filtered variable name list
$variable-names must first be initialized to the required filter string, if the variable is evaluated before it is initialized the value will be set to "ABORT" and the command will fail.
The filter string can contain wild-card characters compatible with most file systems, namely:-
Note that these are not the same characters used by exact(2m) mode.
Once initialized, evaluating $variable-names returns the name of the next variable which matches the filter until no more variables are found, in which case an empty string is returned.
set-variable $variable-names "*" !while ¬ &seq &set #l0 $variable-names "" 100 ml-write &cat "variable: " #l0 !done
The list of variables is evaluated when the variable is initialized, variables defined after the initialization will not be included in the list. The list can contain the current buffer's buffer variables (See Variables(4) for more information on the different types of variables).
Using unset-variable(2) to delete a variable which are in the list, before it has be evaluated, will have undefined effects.
Copyright (c) 1998-2006 JASSPA
Last Modified: 2002/01/11
Generated On: 2006/10/07