aboutsummaryrefslogtreecommitdiff
path: root/src/input/kafile.input.pamphlet
blob: 2297fc24708657bb683e271a8150213585d9aa53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input KAFILE.input}
\author{The Axiom Team}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
<<*>>=

-- Input generated from KeyedAccessFileXmpPage
)clear all

ey: KeyedAccessFile(Integer) := open("/tmp/editor.year", "output")
ey."Char"     := 1986
ey."Caviness" := 1985
ey."Fitch"    := 1984
ey."Char"
ey("Char")
ey "Char"
search("Char", ey)
search("Smith", ey)
remove!("Char", ey)
keys ey
#ey
KE := Record(key: String, entry: Integer)
reopen!(ey, "output")
write!(ey, ["van Hulzen", 1983]$KE)
write!(ey, ["Calmet", 1982]$KE)
write!(ey, ["Wang", 1981]$KE)
close! ey
keys ey
members ey
)system rm -r /tmp/editor.year
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}