Top
Back: kmemory
Forward: number_e
FastBack: compregb_lib
FastForward: grobcov_lib
Up: general_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.2.3.9 killall

Procedure from library general.lib (see general_lib).

Usage:
killall(); (no parameter)
killall("type_name");
killall("not", "type_name");

Return:
killall(); kills all user-defined variables except loaded procedures, no return value.
- killall("type_name"); kills all user-defined variables, of type "type_name"
- killall("not", "type_name"); kills all user-defined variables, except those of type "type_name" and except loaded procedures
- killall("not", "name_1", "name_2", ...); kills all user-defined variables, except those of name "name_i" and except loaded procedures

Note:
killall should never be used inside a procedure

Example:
 


Top Back: kmemory Forward: number_e FastBack: compregb_lib FastForward: grobcov_lib Up: general_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.