[fpc-pascal] private integer is an illegal counter variable

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Nov 27 23:49:25 CET 2009


On 27 Nov 2009, at 23:43, Juha Manninen wrote:

> I understand it is important to support also the old shortstring but it should 
> be defined explicitly and "string" should always mean just one thing.

ansistring and shortstring always mean just one thing. "string" originally meant shortstring in Turbo Pascal, and in Delphi it means shortstring with {$h-} and ansistring with {$h+} (and {$h+} is the default in Delphi and in FPC's Delphi mode).


Jonas


More information about the fpc-pascal mailing list