Top
Back: kbase
Forward: killattrib
FastBack: Functions and system variables
FastForward: Control structures
Up: Functions
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: Index
About: About this document

5.1.57 kill

Syntax:
kill ( name )
kill ( list_of_names )
Type:
none
Purpose:
deletes objects.
Example:
 
  int i=3;
  ring r=0,x,dp;
  poly p;
  listvar();
==> // r                    [0]  *ring
==> //      p                    [0]  poly
==> // i                    [0]  int 3
==> // LIB                  [0]  string standard.lib
  kill(i,r);
  // the variable `i` does not exist any more
  i;
==>    ? `i` is undefined
==>    ? error occurred in line 7: `  i;`
  listvar();
==> // LIB                  [0]  string standard.lib
See defined; general_lib; names.

Top Back: kbase Forward: killattrib FastBack: Functions and system variables FastForward: Control structures Up: Functions Top: Singular 2-0-4 Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 2-0-4, May 2003, generated by texi2html.