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

| KASH3 Reference Manual

Introduction | Reference Manual | Index

search

### Operation

record r . name field -> any

### Description

<shortdoc> 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)'. </shortdoc>

### Examples

r := rec(2:=5); r.2; r.(1+1);

| Built: Mon Nov 14 21:12:39 UTC 2005 on mack