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

Function

Remove ( alist A, any key ) -> alist

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 the alist derived from this removal.
Note: This does not affect `A'.

Examples

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

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