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

Operation

record r  .  name field -> any

Description

The above construct evaluates to the value of the record component with the name 'field' in the record 'r'. Note that 'field' is not evaluated, i.e., it is taken literal. In order to have 'field' evaluated write 'r.(field)'.

Examples

r := rec(2:=5); r.2; r.(1+1);
Built: Mon Nov 14 21:12:39 UTC 2005 on mack
The KANT Group