XEmacs compilation errors not understandable

Hi all! I am new to this forum. I have recently installed Cygwin and XEmacs on my
laptop running Windows Vista. I am studing at the moment and the code I am creating is mainly for that purpose.

I am trying to create the algorithm of Insertion sort. When I compile my code in XEmacs i get some errors that I can not understand. Have a look on the jpeg picture I have attached.

I was wondering if there is something like variables value monitoring in XEmacs?

Thanks

I think the attachment was missing earlier. Now I have attached the jpeg