Newline while writing a text file in Ada
问题 I am opening a text file in Ada with the following code: Open (File => out_parcial_variante1, Name => "c.txt", Mode => append_file); put(File => out_parcial_variante1, Item=> "r"); close(out_parcial_variante1); The file as a structure like this inside: 01 #510.00:1003.00,512.04:1110.00,515.00:998.00,-98.00,-100.00 <second empty line, this text is not in the file> Note that besides the initial line the cursor is in a second line there with nothing written. Whenever my code writes in the file,