/usr/share/axiom-20120501/input/exit.input is in axiom-test 20120501-8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | )set break resume
)spool exit.output
)set message test on
)set message auto off
)clear all
--S 1 of 6
n := 0
--R
--R
--R (1) 0
--R Type: NonNegativeInteger
--E 1
--S 2 of 6
gasp(): Exit ==
free n
n := n + 1
error "Oh no!"
--R
--R Function declaration gasp : () -> Exit has been added to workspace.
--R Type: Void
--E 2
--S 3 of 6
half(k) ==
if odd? k then gasp()
else k quo 2
--R
--R Type: Void
--E 3
--S 4 of 6
half 4
--R
--R Compiling function gasp with type () -> Exit
--R Compiling function half with type PositiveInteger -> Integer
--R
--R (4) 2
--R Type: PositiveInteger
--E 4
--S 5 of 6
half 3
--R
--R
--RDaly Bug
--R Error signalled from user code in function gasp:
--R Oh no!
--E 5
--S 6 of 6
n
--R
--R
--R (5) 1
--R Type: NonNegativeInteger
--E 6
)spool
)lisp (bye)
|