| 
 
Generate a list of functions and variables
 
Array_Type _apropos (String_Type ns, String_Type s, Integer_Type flags) 
The _apropos function may be used to get a list of all defined
objects in the namespace ns whose name matches the regular
expression s and whose type matches those specified by
flags.  It returns an array of strings representing the
matches.
 
The second parameter flags is a bit mapped value whose bits
are defined according to the following table
 
     1          Intrinsic Function
     2          User-defined Function
     4          Intrinsic Variable
     8          User-defined Variable
 
    define apropos (s)
    {
      variable n, name, a;
      a = _apropos ("Global", s, 0xF);
      vmessage ("Found %d matches:", length (a));
      foreach (a)
        {
           name = ();
           message (name);
        }
    }
prints a list of all matches.
 
If the namespace specifier ns is the empty string "",
then the namespace will default to the static namespace of the
current compilation unit.
 
slangrtl
__get_defined_symbols,
__get_reference,
__is_initialized,
_function_name,
_get_namespaces,
eval,
getenv,
integer,
is_defined,
message,
pack,
putenv,
set_float_format,
sprintf,
sscanf,
strcat,
string,
verror,
vmessage
 |