Commit | Line | Data |
---|---|---|
2728d3ff BJ |
1 | |
2 | ||
3 | APL(I) 7/10/78 APL(I) | |
4 | ||
5 | ||
6 | NAME | |
7 | apl - The UCSF APL interpreter | |
8 | ||
9 | SYNOPSIS | |
10 | apl | |
11 | ||
12 | DESCRIPTION | |
13 | The UCSF APL interpreter contains all the APL 360 operators | |
14 | plus execute (epsilon), scan, and relational character | |
15 | operators. The maximum workspace size is about 50,000 | |
16 | bytes. | |
17 | ||
18 | Function definition is not what you would expect. Functions | |
19 | are created and modified with the system editor. Type `)EDIT | |
20 | fname' or `)EX fname' to creat or modify a function. Type | |
21 | `)READ fname' if it exists and doesn't need editing. | |
22 | ||
23 | The following I-beams are recognized by APL: | |
24 | ||
25 | 1iF Open F for reading. | |
26 | ||
27 | 2iF Create F for writing. | |
28 | ||
29 | 3iF Append to F. | |
30 | ||
31 | 1i0, 2i0, 3i0 Close the named channel. | |
32 | ||
33 | Only one read channel and one write channel may be open | |
34 | simultaneously. When a file is open for reading, references | |
35 | to the quad or quote-quad variable are actually references | |
36 | to the named file. When open for writing, assignments to the | |
37 | quad variable are written to the file. | |
38 | ||
39 | 10iC Send command C to the shell. | |
40 | The command will be executed as if it were typed at a UNIX | |
41 | terminal. This is equivalent to the `!' feature of the edi- | |
42 | tor. | |
43 | ||
44 | Monadic I-beam functions are: 20 for the time of day, 21 to | |
45 | return CPU time used, 22 to return WS free in bytes, 24 to | |
46 | return the starting time, 25 to return the date, 28 to re- | |
47 | turn the starting date, 29 to read the index origin, 30 to | |
48 | read the terminal width, 31 to read the printing precision | |
49 | (or `digits'), and 32 to run the shell. | |
50 | ||
51 | BUGS | |
52 | No trace function or state indicator. | |
53 | ||
54 | No `)WSID' command. The existing system commands take only | |
55 | one argument. | |
56 | ||
57 | A `)WRITE fname' command is needed to get at functions which | |
58 | exist only in workspaces. | |
59 | ||
60 | ||
61 | ||
62 | - 1 - | |
63 | ||
64 | ||
65 | ||
66 |