The monad u: applies to several kinds of arguments:
Argument |
Result |
1-byte characters |
same as 2&u: |
2-byte characters |
copy of argument |
integers |
same as 4&u: |
The inverse of the monad u: is 3&u:
|
|
The dyad u: takes a scalar integer left argument
and applies to several kinds of arguments:
Left |
Right |
|
Result |
1 |
2-byte characters |
|
1-byte characters; high order bytes are discarded |
2 |
1-byte characters |
|
2-byte characters; high order bytes are 0 |
3 |
2-byte characters |
|
integers |
4 |
integers |
|
2-byte characters; integers must be from 0 to 65535 |
5 |
2-byte characters |
|
1-byte characters; high order bytes must be 0 (and are discarded) |
6 |
1-byte characters |
|
2-byte characters; pairs of 1-byte characters are converted to 2-byte characters |
1&u: and 2&u: is an inverse pair,
as are 3&u: and 4&u: .
|