Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #1560
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!feed.xsnews.nl!border-2.ams.xsnews.nl!post-feeder-01.xsnews.nl!frontend-F09-07.ams.news.kpn.nl |
|---|---|
| From | Cecil Westerhof <Cecil@decebal.nl> |
| Newsgroups | comp.lang.postscript |
| Subject | Re: Wrote a fatalError function |
| Organization | Decebal Computing |
| References | <878v0l8odt.fsf@Aspire.decebal.nl> <495cc790-b3a1-4b6a-bc5b-e8fd88a4de0b@googlegroups.com> |
| X-Face | "(y8cC@tg_12{">GF'UXTW]FHI2wMiZNrnf'1EFQ&O#$m:f#O7+7}kR<J%a^F2lh4[N~Yz4 nSp#c+aQo1b5=?HcNEkQ7QzF<])O3X4MDL/AYjys&*mt>,v+Pti8=Vi/Z"g^?b"E |
| X-Homepage | http://www.decebal.nl/ |
| Date | Thu, 01 Aug 2013 19:41:39 +0200 |
| Message-ID | <874nb98g18.fsf@Aspire.decebal.nl> (permalink) |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
| Cancel-Lock | sha1:XBgAB3JWVhP1d6zFKSYSRlqcLc8= |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| Lines | 47 |
| NNTP-Posting-Host | 77.171.42.144 |
| X-Trace | 1375378980 news.kpn.nl 2798 77.171.42.144@kpn/77.171.42.144:37013 |
| Xref | csiph.com comp.lang.postscript:1560 |
Show key headers only | View raw
Op donderdag 1 aug 2013 18:46 CEST schreef luser:
>> % To quit the program when there was an error, default the stack is
>> not shown
>>
>> % Only print the errorMessage when it is not empty
>>
>> % errorMessage [surpressStack] fatalError -
>>
>> /fatalError {
>>
>> dup type /booleantype ne {
>>
>> true
>>
>> } if
>>
>> {
>>
>>
>> interrupted
>
> This should be `interrupt` or else you may trip
> an infinite loop of /undefined errors.
Done.
>> /USER-DEFINED-ERROR cvx /unregistered signalerror
>>
>> /handleerror signalerror
>
> This line is unnecessary (and wrong). /signalerror should
> always be called with 2 arguments, and /handleerror is not
> an appropriate error-name (even though it lives in the same
> dict, errordict).
Some garbage that was not correctly deleted after the row of edits.
Luckily it would not get there, but deleted also.
Thanks for all the help you are giving.
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
Back to comp.lang.postscript | Previous | Next — Previous in thread | Find similar | Unroll thread
Wrote a fatalError function Cecil Westerhof <Cecil@decebal.nl> - 2013-08-01 16:41 +0200
Re: Wrote a fatalError function luser- -droog <mijoryx@yahoo.com> - 2013-08-01 09:46 -0700
Re: Wrote a fatalError function luser- -droog <mijoryx@yahoo.com> - 2013-08-01 09:50 -0700
Re: Wrote a fatalError function Cecil Westerhof <Cecil@decebal.nl> - 2013-08-01 19:41 +0200
csiph-web