aboutsummaryrefslogtreecommitdiff
path: root/src/input/fname.input.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2007-08-14 05:14:52 +0000
committerdos-reis <gdr@axiomatics.org>2007-08-14 05:14:52 +0000
commitab8cc85adde879fb963c94d15675783f2cf4b183 (patch)
treec202482327f474583b750b2c45dedfc4e4312b1d /src/input/fname.input.pamphlet
downloadopen-axiom-ab8cc85adde879fb963c94d15675783f2cf4b183.tar.gz
Initial population.
Diffstat (limited to 'src/input/fname.input.pamphlet')
-rw-r--r--src/input/fname.input.pamphlet43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/input/fname.input.pamphlet b/src/input/fname.input.pamphlet
new file mode 100644
index 00000000..d37a83a4
--- /dev/null
+++ b/src/input/fname.input.pamphlet
@@ -0,0 +1,43 @@
+\documentclass{article}
+\usepackage{axiom}
+\begin{document}
+\title{\$SPAD/src/input fname.input}
+\author{The Axiom Team}
+\maketitle
+\begin{abstract}
+\end{abstract}
+\eject
+\tableofcontents
+\eject
+\section{License}
+<<license>>=
+--Copyright The Numerical Algorithms Group Limited 1991.
+@
+<<*>>=
+<<license>>
+
+)system touch /tmp/reado
+)system chmod +r,-w /tmp/reado
+)system touch /tmp/writo
+)system chmod +w,-r /tmp/writo
+
+nullo: FNAME := new("", "nullo", "x")
+reado: FNAME := filename("/tmp", "reado", "")
+writo: FNAME := "/tmp/writo"
+
+[directory reado, name reado, extension reado]
+[directory writo, name writo, extension writo]
+[directory nullo, name nullo, extension nullo]
+
+[exists? reado, readable? reado, writable? reado]
+[exists? writo, readable? writo, writable? writo]
+[exists? nullo, readable? nullo, writable? nullo]
+
+)system rm -f /tmp/reado
+)system rm -f /tmp/writo
+@
+\eject
+\begin{thebibliography}{99}
+\bibitem{1} nothing
+\end{thebibliography}
+\end{document}