Ada: Writing to files within a block statement
问题 I am dealing with an array whose length is determined during the execution of the program. So I am making use of a block statement in which I can set the limits of the array. I am having problems to write the elements of the array to a file as I was using a stub for the write procedure . I removed the stub to have everything in the same code. Though now my code compiles and run , it is not writing to the file. Here is the code: with Ada.Float_Text_IO; with Ada.Integer_Text_IO; with Ada.Text