Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #1034
| From | Cecil Westerhof <Cecil@decebal.nl> |
|---|---|
| Newsgroups | comp.lang.postscript |
| Subject | Re: Type of element on stack |
| Organization | Decebal Computing |
| References | <87fw4gnafj.fsf@Compaq.site.inet> <C5-dnQI9gIUsqQLNnZ2dnUVZ_s6dnZ2d@earthlink.com> |
| Date | 2012-11-11 10:34 +0100 |
| Message-ID | <87zk2olbze.fsf@Compaq.site.inet> (permalink) |
Op zondag 11 nov 2012 06:15 CET schreef Dan Coby: >> Is there a way to check for the type of an element on the stack? >> > > Yes. The type operator. See page 705 of the PLRM 3rd edition. > All of the operators are listed in the PLRM. > > > GS>1 type = > integertype > GS>[1] type = > arraytype > GS>(aaa) type = > stringtype Works like a charm. Thanks. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof
Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Type of element on stack Cecil Westerhof <Cecil@decebal.nl> - 2012-11-11 03:24 +0100
Re: Type of element on stack Dan Coby <adcoby@earthlink.net> - 2012-11-10 21:15 -0800
Re: Type of element on stack Cecil Westerhof <Cecil@decebal.nl> - 2012-11-11 10:34 +0100
Re: Type of element on stack Don Lancaster <don@tinaja.com> - 2012-11-12 20:41 -0800
Re: Type of element on stack Cecil Westerhof <Cecil@decebal.nl> - 2012-11-13 07:31 +0100
Re: Type of element on stack "luser.droog" <luser.droog@gmail.com> - 2012-11-16 18:19 -0600
Re: Type of element on stack Cecil Westerhof <Cecil@decebal.nl> - 2012-11-17 14:39 +0100
csiph-web