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

Function

Put ( alist A, any key, any val ) -> alist

Optional Arguments

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

Description

Associate `key' with `val' in alist `A' and return the alist derived from this association.
Note: This does not affect `A'.

Examples

A:=Alist(); Put(A,1,"foo");

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