Peter Gerwinski wrote:
WriteLn('*',Text,'*'); { Prints out with padded #0 }
I think we agree that this is correct. (On Linux, the #0s don't appear on the screen ... I suspect the operating system (or the "terminal") "eats" them.)
Why is this correct? Isn't Text, being declared as an array of char, treated as a 0-terminated string, meaning that the #0 should not be printed?