Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.lang.intercal > #1
| From | Marius Gavrilescu <marius@ieval.ro> |
|---|---|
| Newsgroups | alt.lang.intercal |
| Subject | E129 and E633 confusion in C-INTERCAL 0.29 |
| Date | 2016-07-08 11:56 +0300 |
| Organization | A noiseless patient Spider |
| Message-ID | <87d1mofqyy.fsf@ieval.ro> (permalink) |
Hello,
I am a newcomer to INTERCAL and I am confused about ick's behaviour
towards programs that do not end with DO GIVE UP.
According to the manual <http://catb.org/esr/intercal/ick.htm#Errors>:
* E129 is a compile-time error triggered when a NEXT statement points to
a non-existent label
* E633 is a runtime error triggered when execution runs off the end of
the program
Consider the following one-line program:
DO READ OUT #1
When compiled, it gives no error. When run, it outputs the following on
stderr:
ICL129I PROGRAM HAS GOTTEN LOST
ON THE WAY TO WHO KNOWS WHERE
CORRECT SOURCE AND RESUBNIT
This seems inconsistent with the manual -- shouldn't it be E633 instead?
Am I missing something obvious or is this a bug?
It should be mentioned that a program where a NEXT statement points to
a non-existent label does correctly give E129 during compilation.
This is C-INTERCAL 0.29 from the Gentoo repos.
Thank you,
--
Marius Gavrilescu
Back to alt.lang.intercal | Next — Next in thread | Find similar | Unroll thread
E129 and E633 confusion in C-INTERCAL 0.29 Marius Gavrilescu <marius@ieval.ro> - 2016-07-08 11:56 +0300
Re: E129 and E633 confusion in C-INTERCAL 0.29 Claudio Calvelli <c.news@w42.org.invalid> - 2016-07-12 10:10 +0000
Re: E129 and E633 confusion in C-INTERCAL 0.29 ais523 <ais523@nethack4.org> - 2016-07-12 16:16 +0000
Re: E129 and E633 confusion in C-INTERCAL 0.29 Claudio Calvelli <c.news@w42.org.invalid> - 2016-07-12 21:49 +0000
csiph-web