$mode-names - Filtered mode name list
$mode-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 takes the form of a regex.
Once initialized, evaluating $mode-names returns the name of the next mode which matches the filter until no more modes are found, in which case an empty string is returned.
set-variable $mode-names "*" !while ¬ &seq &set #l0 $mode-names "" 100 ml-write &cat "mode: " #l0 !done
Copyright (c) 1998-2006 JASSPA
Last Modified: 2002/01/11
Generated On: 2006/10/07