996
|
1 PLEASE NOTE: this program demonstrates quantum retrieve.
|
|
2
|
|
3 Requires CLC-INTERCAL 1.-94 or newer.
|
|
4
|
|
5 Copyright (c) 2006 Claudio Calvelli, all rights reserved.
|
|
6
|
|
7 CLC-INTERCAL is copyrighted software. However, permission to use, modify,
|
|
8 and distribute it is granted provided that the conditions set out in the
|
|
9 licence agreement are met. See files README and COPYING in the distribution.
|
|
10
|
|
11 DO .1 <- #1
|
|
12 DO STASH .1
|
|
13 DO .1 <- #2
|
|
14 DO RETRIEVE .1 WHILE NOT RETRIEVING IT
|
|
15 DO READ OUT .1
|
|
16
|
|
17 PLEASE NOTE: The program enters a superposed state in which the
|
|
18 stash stack has and has not been retrieved from; as a result,
|
|
19 one state READs OUT #1 and the other #2.
|
|
20
|
|
21 DO GIVE UP
|
|
22
|