From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,2afd440a210c7fb0 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,df8a3dc583bf1f5f X-Google-Attributes: gid1164f8,public From: carl@gerg.tamu.edu (Carl Perkins) Subject: Re: Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA * Date: 1998/09/08 Message-ID: <8SEP199800252794@gerg.tamu.edu>#1/1 X-Deja-AN: 388933182 Distribution: world References: <0095000017115526000002L062*@MHS> <6s17hi$2g8@post.gsfc.nasa.gov> <6s4o0o$q31@news1.panix.com> <6s6dtu$d34@post.gsfc.nasa.gov> <6ss804$qqd@web.nmti.com> X-Lunar-Date: 5 days, 1 hr, 58 mins until the last quarter of the moon (U.T.) Organization: Geochemical and Environmental Research Group - TAMU News-Software: VAX/VMS VNEWS 1.50AAXP NNTP-Posting-Date: 8 Sep 1998 05:21:40 GMT Newsgroups: comp.os.vms,comp.sys.dec peter@baileynm.com (Peter da Silva) writes... }There are disadvantages to pascal-style strings too... for example, they }have a maximum length of 255 bytes. At the low level C operates, it's hard }to pick a uniformally perfect format for strings... and at least you can }work around it this way. }-- }In hoc signo hack, Peter da Silva That depends on the implementation. VAX Pascal allowed a string of any of the various types (other than "char" which is always 1 byte) to be up to 65,535 characters. (So says the help from the Pascal installed on some old VAXstations here, installed in about 1989 as I recall.) Newer implementaions relax that even more - Delphi, for example, allows strings to be as large as 4,294,967,295 characters each, since the length is a 32 bit unsigned integer. (Although Delphi may not fit a strict definition of Pascal, I suppose, but the newer versions of TurboPascal may have the same higher limit.) --- Carl