Pascal vs C style string ?

ssimmons@convex.com (Steve Simmons)
Sun, 26 Jun 1994 17:06:34 GMT

          From comp.compilers

Related articles
Pascal vs C style string ? guerin@IRO.UMontreal.CA (1994-06-24)
Pascal vs C style string ? ssimmons@convex.com (1994-06-26)
Re: Pascal vs C style string ? prener@watson.ibm.com (1994-06-27)
Re: Pascal vs C style string ? jhallen@world.std.com (1994-06-27)
Re: Pascal vs C style string ? ddean@robadome.com (1994-06-27)
Re: Pascal vs C style string ? boehm@parc.xerox.com (1994-06-27)
Re: Pascal vs C style string ? nandu@cs.clemson.edu (1994-06-27)
Re: Pascal vs C style string ? eifrig@beanworld.cs.jhu.edu (1994-06-28)
[13 later articles]
| List of all articles for this month |

Newsgroups: comp.compilers
From: ssimmons@convex.com (Steve Simmons)
Keywords: C, Pascal, design
Organization: CONVEX News Network, Engineering (cnn.eng), Richardson, Tx USA
References: 94-06-175
Date: Sun, 26 Jun 1994 17:06:34 GMT

guerin@IRO.UMontreal.CA:
> Is there some reasons to use string0 over length attributed string ??


Another minor benefit is the restriction on size. String0 has no
restriction at all other than the user's memory. Pascal type strings are
limited by the value held in the length attribute. PL/I limited its
strings to 32K (size was 15 bits). A language purist may find this
offensive since implementation of string should be independent of the
language definition.


Thank you.


Steve Simmons
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.