BSD 3 development
[unix-history] / usr / src / cmd / apl / documents / apl.1
CommitLineData
a15aebc9
KT
1.th APL I 7/10/78
2.sh NAME
3apl \*- The UCSF APL interpreter
4.sh SYNOPSIS
5.bd apl
6.sh DESCRIPTION
7The UCSF APL interpreter contains all the APL 360 operators
8plus execute (epsilon), scan, and relational character operators.
9The maximum workspace size is about 50,000 bytes.
10.s3
11Function definition is not what you would expect. Functions are
12created and modified with the system editor. Type `)EDIT fname'
13or `)EX fname' to creat or modify a function. Type `)READ
14fname' if it exists and doesn't need editing.
15.s3
16The following I-beams are recognized by APL:
17.in +.6i
18.s3
191iF Open F for reading.
20.s3
212iF Create F for writing.
22.s3
233iF Append to F.
24.s3
251i0, 2i0, 3i0 Close the named channel.
26.in
27.s3
28Only one read channel and
29one write channel may be open simultaneously. When a file is open
30for reading, references to the quad or quote-quad variable are
31actually references to the named file. When open for writing,
32assignments to the quad variable are written to the file.
33.s3
34.in +.6i
3510iC Send command C to the shell.
36.in
37The command will be executed
38as if it were typed at a UNIX terminal. This is equivalent to
39the `!' feature of the editor.
40.s3
41Monadic I-beam functions are: 20 for the time of day, 21
42to return CPU time used, 22 to return WS free in bytes,
4324 to return the starting time, 25 to return the date,
4428 to return the starting date, 29 to read the index
45origin, 30 to read the terminal width, 31 to read the
46printing precision (or `digits'), and 32 to
47run the shell.
48.sh BUGS
49No trace function or state indicator.
50.s3
51No `)WSID' command. The existing system commands take
52only one argument.
53.s3
54A `)WRITE fname' command is needed to get at functions which
55exist only in workspaces.