Re: AGT Version 1.83


15 Aug 1995 08:04:06 GMT

In article <Pine.SOL.3.91.950813160611.3331E-100000@xmission.xmission.com>,
Nicholas Gorrell <nick@xmission.xmission.com> wrote:
>
>
>On 11 Aug 1995, Joe Schlimgen wrote:
>
>> The biggest problems I had to worry about were strings and arrays. Pascal can
>> base arrays from [min..max] and C++ always bases them from 0 -- hence the
>> PArray<class T, int min, int max> template. Strings were a bit trickier -- the
>> ANSI string class works well, but I hade to work on the i/o to make it
>> fixed-length (which Pascal appears to have -- more research is needed there,
>> any answers from the vast and unpaid research dept?).
>
>Pascal DOES NOT have fixed length strings, strings are kinda like arrays,
>this is how it works:

Pascal doesn't have strings at all, just packed arrays.

Borland may or may not have added strings (I wouldn't know, I've never
owned a system that Turbo pascal was ported to, and probably never will)
but if so it is non standard.

-- 
Matthew Crosby                                         crosby@cs.colorado.edu
Disclaimer:  It was another country, and besides, the wench is dead.