Comments ts based on the 1.7 branch.

There appears to be an error in function String_To_Pixel_Data, based on the 
string returned from function Data (Image_Data_Type) return String: the Y loop 
needs to be the outer loop.

In addition, the 4 function calls in the aggregate rely on the order of 
evaluation, which is not specified by the language. While GNAT is unlikely to 
change this, it's safer to assign the results of the calls to variables and use 
them in the aggregate. 

Finally, the initialization of S has no effect. 

Assuming that the string supplied to procedure Data (Image_Data_Type; String) 
has the same format, then the change to the loops also applies to procedure 
Data (Image_Data_Type; Pixel_Data_Type).
--
Jeff Carter
"Now go away or I shall taunt you a second time."
Monty Python and the Holy Grail
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to