KASH3 Ref - PutAssoc

TU-Berlin | → | Inst. f. Mathematik | → | Algebra und Zahlentheorie | → | KASH | → | Documentation | → | Reference Manual
| KASH3 Reference Manual
Introduction | Reference Manual | Index
| search
| ### Function PutAssoc ( alist A, list keyval ) -> alist ### Optional Arguments
Fail | any |  | Determines what to return in case of failure.
Success | any | (Default: SUCCESS) | Determines what to return in case of success.
### Description Associate `key' (taken as first element of `keyval') with `val' (taken as second element of `keyval') in alist `A' and return the alist derived from this association. Note: This does not affect `A'. ### Examples A:=Alist(); PutAssoc_(A,[2,"bar"]); ### See also PutAssoc ( alist, list ) -> alist
| Built: Mon Nov 14 21:12:39 UTC 2005 on mack