Is there a way to get strings in records bigger than 255 chars?
EDIT:
I have something like the following:
TQuery = Record
Action: string[255];
Data: string;
end;
if I now say:
Test: TQuery;
Test.Data := 'ABCDEFGHIJKLMN...up to 255...AISDJIOAS'; //Shall be 255 chars
It does not work and the compiler complains… How to fix that?
If you want to be able to write your record to a file, you can define your string as an array of ansichar for example. You can treat it like a string afterwards.
Example: