KASH3 Ref - Ranges

TU-Berlin | → | Inst. f. Mathematik | → | Algebra und Zahlentheorie | → | KASH | → | Documentation | → | Reference Manual
| KASH3 Reference Manual
Introduction | Reference Manual | Index
| search
| ### Keyword Ranges ### Description A range is a finite sequence of integers which is another special kind of list. A range is described by its minimum (the first entry), its second entry and its maximum, separated by a comma resp. two dots and enclosed in brackets. In the usual case of an ascending list of consecutive integers the second entry may be omitted. ### Examples L := [1..100]; # list of all positive integers less than or equal to 100 L := [2,4..100]; # list of all even integers between 2 and 100
| Built: Mon Nov 14 21:12:39 UTC 2005 on mack