File:  [CSRG BSD Unix] / 41BSD / cmd / apl / documents / apl.1
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:53 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD41
BSD 4.1

.th APL I 7/10/78
.sh NAME
apl  \*-  The UCSF APL interpreter
.sh SYNOPSIS
.bd apl
.sh DESCRIPTION
The UCSF APL interpreter contains all the APL 360 operators
plus execute (epsilon), scan, and relational character operators.
The maximum workspace size is about 50,000 bytes.
.s3
Function definition is not what you would expect. Functions are
created and modified with the system editor. Type `)EDIT fname'
or `)EX fname' to creat or modify a function. Type `)READ
fname' if it exists and doesn't need editing.
.s3
The following I-beams are recognized by APL:
.in +.6i
.s3
1iF		Open F for reading.
.s3
2iF		Create F for writing.
.s3
3iF		Append to F.
.s3
1i0, 2i0, 3i0	Close the named channel.
.in
.s3
Only one read channel and
one write channel may be open simultaneously. When a file is open
for reading, references to the quad or quote-quad variable are
actually references to the named file. When open for writing,
assignments to the quad variable are written to the file.
.s3
.in +.6i
10iC	Send command C to the shell.
.in
The command will be executed
as if it were typed at a UNIX terminal. This is equivalent to
the `!' feature of the editor.
.s3
Monadic I-beam functions are: 20 for the time of day, 21
to return CPU time used, 22 to return WS free in bytes,
24 to return the starting time, 25 to return the date,
28 to return the starting date, 29 to read the index
origin, 30 to read the terminal width, 31 to read the
printing precision (or `digits'), and 32 to
run the shell.
.sh BUGS
No trace function or state indicator.
.s3
No `)WSID' command. The existing system commands take
only one argument.
.s3
A `)WRITE fname' command is needed to get at functions which
exist only in workspaces.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.