| www.delorie.com/gnu/docs/octave/octave_61.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
?
*
[ list ]
! or ^, match all characters except those
specified by list. For example, the pattern `[a-zA-Z]' will
match all lower and upper case alphabetic characters.
For example, the command
clear foo b*r |
clears the name foo and all names that begin with the letter
b and end with the letter r.
If clear is called without any arguments, all user-defined
variables (local and global) are cleared from the symbol table. If
clear is called with at least one argument, only the visible
names matching the arguments are cleared. For example, suppose you have
defined a function foo, and then hidden it by performing the
assignment foo = 2. Executing the command clear foo once
will clear the variable definition and restore the definition of
foo as a function. Executing clear foo a second time will
clear the function definition.
This command may not be used within a function body.
-all
-builtins
LOADPATH.
-functions
-long
-variables
Valid patterns are the same as described for the clear command
above. If no patterns are supplied, all symbols from the given category
are listed. By default, only user defined functions and variables
visible in the local scope are displayed.
The command whos is equivalent to who -long.
Normally also displays if each name is user-defined or builtin;
the -q option suppresses this behaviour.
Currently, Octave can only display functions that can be compiled cleanly, because it uses its internal representation of the function to recreate the program text.
Comments are not displayed because Octave's parser currently discards them as it converts the text of a function file to its internal representation. This problem may be fixed in a future release.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |