[fpc-pascal] type of resourcestrings

Marc Santhoff M.Santhoff at t-online.de
Wed Apr 6 17:05:38 CEST 2005


Am Mi, den 06.04.2005 schrieb Michael Van Canneyt um 16:36:
> On Wed, 6 Apr 2005, Marc Santhoff wrote:
> 
> > Hi,
> >
> > when defining resourcestrings the definition looks like this:
> >
> > 	mystring = 'anything';
> >
> > A typed definition is not allowed:
> >
> > 	mystring: AnsiString = 'anything';
> >
> > gives an error.

Forget about my last question, I forgot to mention that I tried both
definitions in the 'resourcestring' section. The second one does work in
the 'const' section where it belongs.

Sorry,
Marc






More information about the fpc-pascal mailing list