On 19/12/2023 11:36, James Richters via fpc-pascal wrote:
I did notice that I cannot have a file of Ansistrings⦠Myfile : File of Ansistring; Causes a compiler error: Error: Typed files cannot contain reference-counted types.
I would just define the file as 'Text'. Can then Readln into an Ansistring. Cheers, Peter _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal