Details of Icon Functions E through J
Produces a string based on s1 in which runs of blanks are replaced by
tabs. Tab stops are at i1, i2, ..., in, with additional stops obtained
by repeating the last interval.
Default:
i1 9
See also: detab()
Clears the indications of the last error.
See also: &error()
Terminates the program with exit status i.
Default:
i normal exit (system dependent)
See also: stop()
Produces e raised to the power r1.
See also: log() and N1 ^ N2
Generates the sequence of integer positions in s2 at which s1 occurs as
a substring in s2[i1:i2], but fails if there is no such position.
Defaults:
s2 &subject
i1 &pos if s2 defaulted, otherwise 1
i2 0
See also: bal(), match(), and upto()
Flushes the output buffers for f.
Generates the names of the Icon (built-in) functions.
Produces the leftmost element of L and removes it from L, but fails if
L is empty; synonym for pop(L).
See also: pop(), pull(), push(), and put()
Waits until a character has been entered from the keyboard and then produces
the corresponding one-character string. The character is not displayed.
The function fails on an end of file.
See also: getche() and kbhit()
Waits until a character has been entered from the keyboard and then produces
the corresponding one-character string. The character is displayed.
The function fails on an end of file.
See also: getch() and kbhit()
Produces the value of environment variable s1, but fails if the
variable is not set or environment variables are not supported.
Produces the bitwise and of i1 and i2.
See also: icom(), ior(), ishift(), and ixor()
Produces the bitwise complement (1's complement) of i1.
See also: iand(), ior(), ishift(), and ixor()
Produces a string image of x.
If X is a table, inserts the key x1 with value x2 into X. If X is a
set, inserts x1 into X. Produces X.
Default:
x2 &null
See also: delete() and member()
Produces the integer resulting from converting x, but fails if the
conversion is not possible.
See also: numeric() and real()
Produces the bitwise inclusive or of i1 and i2
See also: iand(), icom(), ishift(), and ixor()
Produces the result of shifting the bits in i1 by i2 positions.
Positive values of i2 shift to the left, negative to the right.
Vacated bit positions are zero-filled.
See also: iand(), ior(), ior(), and ixor()
Produces the bitwise exclusive or of i1 and i2.
See also: iand(), icom(), ior(), and ixor()