TU-Berlin → Inst. f. Mathematik → Algebra und Zahlentheorie → KASH → Documentation → Reference Manual
KASH3 Reference Manual
search    

Function

RemAssoc_ ( alist A, any key )

Optional Arguments

FailanyDetermines what to return in case of failure.
Successany (Default: SUCCESS) Determines what to return in case of success.

Description

Remove `key' and its association in alist `A' and return FAILURE on failure or SUCCESS on success.
Note: `A' is modified by side-effect.

Examples

A:=Alist([1,"foo"],[2,"bar"]); RemAssoc_(A,1); A;

Built: Mon Nov 14 21:12:39 UTC 2005 on mack
The KANT Group