The only version number I can find is R2.63.
Concerning the program above, if I remove the g41 it works fine. Also, if I add a second subroutine identical to the first one and call the first subroutine for the first square and the second subroutine for the second square, all is fine.
Thanks for your interest.