Top
Back: kernel
Forward: killattrib
FastBack: Functions and system variables
FastForward: Control structures
Up: Functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

5.1.71 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
  kill i,r;
  // the variable `i` does not exist any more
  i;
==>    ? `i` is undefined
==>    ? error occurred in or before ./examples/kill.sing line 7: `  i;`
  listvar();
See defined; general_lib.

Top Back: kernel Forward: killattrib FastBack: Functions and system variables FastForward: Control structures Up: Functions Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.3.2, 2023, generated by texi2html.