From: Robert Lee Subject: Re: Usage of "absolute" Date: 06 Jun 2000 00:00:00 GMT Message-ID: <393D0EC5.8D890A6A@nwu.edu> Content-Transfer-Encoding: 7bit References: <393c55e3.117404972@forums.inprise.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 6 Jun 2000 07:38:20 -0800, 129.105.186.144 MIME-Version: 1.0 Newsgroups: borland.public.delphi.objectpascal Loren Pechtel wrote: > > >Hmmm... They might deprecate it so much that you can't use it anymore. > >Just like old style objects or (recently) short strings. Both of these > >have more and more little bugs, and fixing these doesn't seem to be high > >priority. > > Short strings certainly shouldn't be done away with--there is one > big thing you can do with a short string that you can't with a > long--write a record containing it to disk. > > As much as possible, I like to store data internally in the same > format as it's stored on disk, this makes for very quick I/O, > something that an awful lot of programmers could stand to learn > something about. I case you weren't aware of it, D5 and presumably all future versions convert short strings to longstrings before doing anything with them. The end result is that you are seriously penalized for using short strings. -- Bob Lee High Performance Delphi - http://www.optimalcode.com/