~ubuntu-branches/ubuntu/trusty/clc-intercal/trusty-proposed

« back to all changes in this revision

Viewing changes to examples/quantum/next.ni

  • Committer: Bazaar Package Importer
  • Author(s): Mark Brown
  • Date: 2006-10-08 13:30:54 UTC
  • mfrom: (1.1.1 upstream) (3.1.1 dapper)
  • Revision ID: james.westby@ubuntu.com-20061008133054-fto70u71yoyltr3m
Tags: 1:1.0~2pre1.-94.-4.1-1
* New upstream release.
* Change to dh_installman.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
        PLEASE NOTE: This program demonstrates the use of quantum nexting.
 
2
 
 
3
        Requires CLC-INTERCAL 1.-94 with the "NEXT" extension.
 
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) NEXT WHILE NOT NEXTING
 
12
        DO .1 <- #1
 
13
        DO READ OUT .1
 
14
        DO GIVE UP
 
15
 
 
16
(1)     DO .2 <- #2
 
17
        DO READ OUT .2
 
18
        DO (2) NEXT
 
19
        PLEASE GIVE UP
 
20
 
 
21
(2)     PLEASE RESUME #2
 
22