Home Online Manual
Top
Back: kill
Forward: koszul
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.67 killattrib

Syntax:
killattrib ( name )
killattrib ( name, string_expression )
Type:
none
Purpose:
deletes all attributes respective the attribute given as the second argument.
Example:
 
  ring r=32003,(x,y),lp;
  ideal i=maxideal(1);
  attrib(i,"isSB",1);
  attrib(i);
==> attr:isSB, type int
  killattrib(i,"isSB");
  attrib(i);
==> no attributes
  attrib(i,"isSB",1);
  killattrib(i);
  attrib(i);
==> no attributes
See attrib; option.