Question: Inequality/equality statements

Maple 2015, Windows 7 Pro

Notice the printout of the following example.  The true/false Maple evaluations are incorrect because I do not know what TYPE command to put in the printf expression.  However, the format of the printout is what I want.

restart;
r:= [17=15,16<17,17>18]:
printf("%{}9a\n\n%{}9a\n\n", <r>,<type~(r,anything)>)



  17 = 15   16 < 17   18 < 17

     true      true      true

In this second example the Maple evaluations of the statements are correct, but I want the print format to flow accross the page rather than down the page.

restart;
for r in [17 = 15, 16 < 17,18 < 17]
do
printf("%{}9a\n\n%{}9a\n\n",<r>,<evalb(r)>)
end do;
  17 = 15

    false

  16 < 17

     true

  18 < 17

    false

Could someone show me how to modify the second example so that the printout will flow across the screen rather than down the screen.  Thanks in advance, Les  PS I'd like to keep the loop if possible.

Please Wait...