See also: x1 op:= x2, x1 :=: x2, x1 <- x2, and x1 <-> x2
See also: x1 := x2
See also: x1 := x2 and x1 <-> x2
See also: x1 := x2 and x1 <-> x2
See also: x1 <- x2 and x1 :=: x2
Default:
i3 1 if by
clause omitted
See also: seq()
See also: list()
If x1 is a list, x1[x2] produces element x2 of x1.
If x1 is a record, x1[x2] produces a field of x1 according to x2: if x2 is an integer, the x2th field is produced; if x2 is a string, the field named by the value of x2 is produced.
If x1 is a table, x1[x2] produces the element corresponding to key x2 of x1.
In all cases, x2 may be nonpositive.
In all cases, the subscripting operation fails if the subscript is out of range.
See also: x1[x2,x3, ..., xn], x[i1:i2], x[i1+:i2], and x[i1-:i2]
See also: x1[x2]
If x1 is a list, x1[i1:i2] produces a list consisting of the values of x1 in the given range.
In either case, i1 and i2 may be nonpositive.
In either case, the subscripting operation fails if a subscript is out of range.
See also: x[i], x[i1+:i2], and x[i1-:i2]
If x1 is a list, x1[i1+:i2] produces a list consisting of the values of x1 in the given range.
In either case, i1 and i2 may be nonpositive.
In either case, the subscripting operation fails if a subscript is out of range.
See also: x[i], x[i1:i2], and x[i1-:i2]
If x1 is a list, x1[i1-:i2] produces a list consisting of the values of x1 in the given range.
In either case, i1 and i2 may be nonpositive.
In either case, the subscripting operation fails if a subscript is out of range.
See also: x[i], x[i1:i2], and x[i1+:i2]