Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,32 +0,0 @@
|
|||
IDENTIFICATION DIVISION.
|
||||
PROGRAM-ID. jumps-program.
|
||||
* Nobody writes like this, of course; but...
|
||||
|
||||
PROCEDURE DIVISION.
|
||||
|
||||
* You can jump anywhere you like.
|
||||
start-paragraph.
|
||||
GO TO an-arbitrary-paragraph.
|
||||
|
||||
yet-another-paragraph.
|
||||
ALTER start-paragraph TO PROCEED TO a-paragraph-somewhere.
|
||||
* That's right, folks: we don't just have GO TOs, we have GO TOs whose
|
||||
* destinations can be changed at will, from anywhere in the program,
|
||||
* at run time.
|
||||
GO TO start-paragraph.
|
||||
* But bear in mind: once you get there, the GO TO no longer goes to
|
||||
* where it says it goes to.
|
||||
|
||||
a-paragraph-somewhere.
|
||||
DISPLAY 'Never heard of him.'
|
||||
STOP RUN.
|
||||
|
||||
some-other-paragraph.
|
||||
* You think that's bad? You ain't seen nothing.
|
||||
GO TO yet-another-paragraph.
|
||||
|
||||
an-arbitrary-paragraph.
|
||||
DISPLAY 'Edsger who now?'
|
||||
GO TO some-other-paragraph.
|
||||
|
||||
END PROGRAM jumps-program.
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
DATA DIVISION.
|
||||
WORKING-STORAGE SECTION.
|
||||
01 province PICTURE IS 99 VALUE IS 2.
|
||||
|
||||
PROCEDURE DIVISION.
|
||||
GO TO quebec, ontario, manitoba DEPENDING ON province.
|
||||
* Jumps to section or paragraph named 'ontario'.
|
||||
Loading…
Add table
Add a link
Reference in a new issue