I'm currently using a writeln command to write to a text file.
Is there any way to use concatenated string using record in pascal?
This is my pascal code currently:
Procedure SaveTopScores (Var TopScores : TTopScores);
Var
Count : Integer;
CurrentFile : Text;
Begin
Assign(CurrentFile, 'HiScores.txt');
Rewrite(CurrentFile);
For Count := 1 To MaxSize
Do Writeln(CurrentFile, TopScores[Count].Name, ',', TopScores[Count].Score);
Close(CurrentFile);
End;
And this is writing to the file in VB, is there a way to do a concatenated string in pascal?

Try str1 + str2. I think it's an extension on the original Pascal, but it should be quite common.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With