This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: Pascal Strings -- TAKE FOUR


On Tuesday, July 3, 2001, at 05:43 , Joseph S. Myers wrote:

> Make sure, of course, that allowing longer strings on such platforms is
> correct.  What does the ISO Pascal standard say about string lengths and
> byte sizes?

 From what I can tell, the type 'string' (in which the first byte serves 
as
the length) is not in ISO 7185 (standard Pascal).  Instead, it is a
commonly-found extension (in UCSD, Turbo Pascal, etc.), sometimes 
referred
to as a 'BASIC string' (and no, I don't even want to go there... :) ).
This is the functionality that the proposed patch addresses.

--Zem
--------------------------------------------------------------
Ziemowit Laski                   Apple Computer, Inc.
zlaski@apple.com                 2 Infinite Loop, MS 302-4SN
+1.408.974.6229  Fax .1344       Cupertino, CA  95014-2085


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]