Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #1633
| Newsgroups | comp.lang.postscript |
|---|---|
| Date | 2013-09-19 02:06 -0700 |
| References | <15de7a17-f979-4fe5-ac27-7215f68a4df6@googlegroups.com> <m338p1ttgs.fsf@hemphills.net> <abf44f99-98ea-4683-9f5f-fb8b4e6d1b4b@googlegroups.com> <87ioxxz2wa.fsf@ixod.org> |
| Message-ID | <b0ebdd80-bdbd-4e77-8162-e13759ab8ab3@googlegroups.com> (permalink) |
| Subject | Re: [] [] eq apparently returns true |
| From | luser- -droog <mijoryx@yahoo.com> |
On Thursday, September 19, 2013 2:28:21 AM UTC-5, Mark Carroll wrote: > luser- -droog <mijoryx@yahoo.com> writes: > > > > > On Wednesday, September 18, 2013 9:50:59 PM UTC-5, Scott Hemphill wrote: > > (snip) > > >> Because empty arrays don't use any VM. The pointer into the VM is null. > > > > > > Dammit! Mine prints 'false'. :( > > > > I wonder if the language spec make a guarantee either way. Have you run > > into any other interpreter issues where you were surprised to get some > > latitude on which way to jump? > Yes, indeed. This program is all the little examples verbatim from the first edition Red Book (PLRM 1ed, checking that each command produces the correct output from the manual. http://code.google.com/p/xpost/source/browse/test.ps There were lots of surprises for me. Particularly in the behavior of simple things like `round`, where the obvious library function was not the correct result. And names and strings comparing equal. And a big one was making integer and reals equivalent as dictionary keys. That one I haven't found in the manual, but ghostscript does it. :)
Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[] [] eq apparently returns true anavi8r@gmail.com - 2013-09-18 10:16 -0700
Re: [] [] eq apparently returns true Scott Hemphill <hemphill@hemphills.net> - 2013-09-18 22:50 -0400
Re: [] [] eq apparently returns true luser- -droog <mijoryx@yahoo.com> - 2013-09-18 22:28 -0700
Re: [] [] eq apparently returns true luser- -droog <mijoryx@yahoo.com> - 2013-09-18 22:35 -0700
Re: [] [] eq apparently returns true Mark Carroll <mtbc@bcs.org> - 2013-09-19 08:28 +0100
Re: [] [] eq apparently returns true luser- -droog <mijoryx@yahoo.com> - 2013-09-19 02:06 -0700
Re: [] [] eq apparently returns true luser- -droog <mijoryx@yahoo.com> - 2013-09-19 02:25 -0700
Re: [] [] eq apparently returns true luser- -droog <mijoryx@yahoo.com> - 2013-09-19 02:38 -0700
Re: [] [] eq apparently returns true anavi8r@gmail.com - 2013-09-21 11:28 -0700
Re: [] [] eq apparently returns true luser- -droog <mijoryx@yahoo.com> - 2013-09-21 12:30 -0700
Re: [] [] eq apparently returns true Scott Hemphill <hemphill@hemphills.net> - 2013-09-23 23:24 -0400
csiph-web