aboutsummaryrefslogtreecommitdiff
path: root/src/input/scope.input.pamphlet
blob: 40043aeb2d2e28937872042aa746e57c45591309 (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
\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input scope.input}
\author{The Axiom Team}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
\section{License}
<<license>>=
--Copyright The Numerical Algorithms Group Limited 1996.
@
<<*>>=
<<license>>


showbug1():Void ==
 for i in 1..1 repeat
  z:="I'm OK"
  print(z)
  showbug2()
  print(z)

showbug2():Void ==
 for i in 1..1 repeat
  z:="I'm nasty"

-- used to print:
-- I'm OK
-- I'm nasty

showbug1()
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}