09.03.2015 Views

Unicon Language Reference Clinton L. Jeffery Shamim Mohamed ...

Unicon Language Reference Clinton L. Jeffery Shamim Mohamed ...

Unicon Language Reference Clinton L. Jeffery Shamim Mohamed ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Converts an integer time in seconds since the epoch, Jan 1, 1970 00:00:00 into a string in Coordinated<br />

Universal Time (UTC).<br />

iand(i, i) : integer<br />

iand(i1, i2) produces the bitwise AND of i1 and i2.<br />

icom(i) : integer<br />

icom(i) produces the bitwise complement (one’s complement) of i.<br />

image(any) : string<br />

image(x) returns the string image of the value x.<br />

bitwise and<br />

bitwise complement<br />

string image<br />

insert(x1, x2, x3:&null) : x1<br />

insert element<br />

insert(x1, x2, x3) inserts element x2 into set, table, or list or DBM database x1 if not already<br />

there. Unless x1 is a set, the assigned value for element x2 is x3. For lists, x2 is an integer index;<br />

for other types, it is a key. insert() always succeeds and returns x1.<br />

integer(any) : integer?<br />

convert to integer<br />

integer(x) converts value x to an integer, or fails if the conversion cannot be performed.<br />

ior(i, i) : integer<br />

ior(i1, i2) produces the bitwise OR of i1 and i2.<br />

bitwise or<br />

ishift(i, i) : integer<br />

bitwise shift<br />

ishift(i, j) produces the value obtained by shifting i by j bit positions. Shifting is to the left if j>0,<br />

or to the right if j

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!