62b55966a7/doc/wiki/WordsInRetro.txt
| 39649651c71bddabb639fe1f02bb11eb8dd109d2 | 62b55966a78944a0cf61b110dbea9a84817fdf12 | ||
|---|---|---|---|
4 | == Global Namespace | 4 | == Global Namespace |
5 | ---- | 5 | ---- |
6 | {{{ | 6 | {{{ |
7 | net | ||
8 | }}} | ||
9 | ( - ) | ||
10 | |||
11 | Open or shut the {{{net}}} vocabulary. Shut by default. | ||
12 | ---- | ||
13 | {{{ | ||
14 | files | ||
15 | }}} | ||
16 | ( - ) | ||
17 | |||
18 | Open or shut the {{{files}}} vocabulary. Shut by default. | ||
19 | ---- | ||
20 | {{{ | ||
7 | canvas | 21 | canvas |
8 | }}} | 22 | }}} |
9 | ( - ) | 23 | ( - ) |
... | ... | ||
127 | {{{ | 141 | {{{ |
128 | net.send | 142 | net.send |
129 | }}} | 143 | }}} |
130 | ( cn-f ) | 144 | ( $n-f ) |
131 | 145 | ||
132 | Write character //c// to socket //n//. | 146 | Write string //$// to socket //n//. |
133 | ---- | 147 | ---- |
134 | {{{ | 148 | {{{ |
135 | net.recv | 149 | net.recv |
... | ... | ||
412 | {{{ | 426 | {{{ |
413 | fread | 427 | fread |
414 | }}} | 428 | }}} |
415 | ( hc-f ) | 429 | ( h-c ) |
416 | 430 | ||
417 | Read a byte from a file (//h//), storing it at address (//c//). Leaves a flag. | 431 | Read a byte from a file (//h//). Returns the character read or 0 if at EOF. |
418 | ---- | 432 | ---- |
419 | {{{ | 433 | {{{ |
420 | fwrite | 434 | fwrite |
... | ... | ||
870 | }}} | 884 | }}} |
871 | ( a- ) | 885 | ( a- ) |
872 | 886 | ||
873 | Set a variable to {{{TRUE}}}. | 887 | Set a variable to -1. |
874 | ---- | 888 | ---- |
875 | {{{ | 889 | {{{ |
876 | off | 890 | off |
877 | }}} | 891 | }}} |
878 | ( a- ) | 892 | ( a- ) |
879 | 893 | ||
880 | Set a variable to {{{FALSE}}}. | 894 | Set a variable to 0. |
881 | ---- | 895 | ---- |
882 | {{{ | 896 | {{{ |
883 | / | 897 | / |
... | ... | ||
1372 | }}} | 1386 | }}} |
1373 | ( -a ) | 1387 | ( -a ) |
1374 | 1388 | ||
1375 | Variable. {{{TRUE}}} if canvas exists, {{{FALSE}}} otherwise. | 1389 | Variable. -1 if canvas exists, 0 otherwise. |
1376 | ---- | 1390 | ---- |
1377 | {{{ | 1391 | {{{ |
1378 | fw | 1392 | fw |
... | ... | ||
1414 | }}} | 1428 | }}} |
1415 | ( -a ) | 1429 | ( -a ) |
1416 | 1430 | ||
1417 | Variable. If {{{on}}, remap cr, lf, tab to space. If {{{off}}}, do not. | 1431 | Variable. If {{{on}}}, remap cr, lf, tab to space. If {{{off}}}, do not. |
1418 | ---- | 1432 | ---- |
1419 | {{{ | 1433 | {{{ |
1420 | base | 1434 | base |
... | ... | ||
1647 | }}} | 1661 | }}} |
1648 | ---- | 1662 | ---- |
1649 | {{{ | 1663 | {{{ |
1650 | TRUE | ||
1651 | }}} | ||
1652 | ( -f ) | ||
1653 | |||
1654 | Return a TRUE flag. | ||
1655 | ---- | ||
1656 | {{{ | ||
1657 | FALSE | ||
1658 | }}} | ||
1659 | ( -f ) | ||
1660 | |||
1661 | Return a FALSE flag. | ||
1662 | ---- | ||
1663 | {{{ | ||
1664 | ahead | 1664 | ahead |
1665 | }}} | 1665 | }}} |
1666 | ( -a ) | 1666 | ( -a ) |
Download diff