From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb77,4873305131bf4d94 X-Google-Attributes: gidfdb77,public X-Google-Thread: 10261c,90121986704b5776 X-Google-Attributes: gid10261c,public X-Google-Thread: 10c950,90121986704b5776 X-Google-Attributes: gid10c950,public X-Google-Thread: 1014db,4873305131bf4d94 X-Google-Attributes: gid1014db,public X-Google-Thread: 109fba,4873305131bf4d94 X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,4873305131bf4d94 X-Google-Attributes: gid103376,public From: reagan@pforge.enet.dec.com (John R. Reagan) Subject: Re: English SUCKS, Chinese is the only language you need!! Date: 1997/11/20 Message-ID: <651s51$s1m$1@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 291067746 References: <34557f2b.1934172@news.mindspring.com> <34566fe9.447229@news.mindspring.com> <345673af.1413708@news.mindspring.com> <3456A374.5BF2@public.hz.zj.cn> <347067B8.46@lysator.liu.se> <64qllr$c45@mtinsc03.worldnet.att.net> <3471428A.6193@erdw.ethz.ch> <64sql2$k0@ <3473407e.17757163@lhc.nlm.nih.gov> Organization: Digital Equipment Corporation Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.lang.java.advocacy,comp.lang.pascal.ansi-iso,comp.lang.pascal.misc Date: 1997-11-20T00:00:00+00:00 List-Id: In article <3473407e.17757163@lhc.nlm.nih.gov>, jw_rider@usa.net (J. W. Rider) writes... >*Standard* pascal strings are constants only. > >Borland's Turbo Pascal strings used the prefix length byte. Becareful of what you speak... The Extended Pascal standard from 1989 added a variable-length STRING type in addition to the traditional PACKED ARRAY OF CHAR fixed-string type. Also note that the standard doesn't provide an implementation. A compiler is free to choose whatever implementation to provide the semantic behavior. It could choose a prefix length byte, a prefix length word, a trailing null, a quija board, etc. -- John Reagan DEC Pascal Project Leader Application Compilers and Environments Digital Equipment Corporation reagan@hiyall.enet.dec.com Disclaimer: The opinions and statements expressed by me are not necessarily those of Digital Equipment Corporation. --