Hello, logical statements should be separated and the value of numeric anta cannot be changed by another equality. The following works: beginfig ( 1 ) ; for i = -60 step 10 until 61 : anta:= if (i > -31) and (i < 31) : 70 ; else : 60 ; fi ; draw ( -anta, i ) -- ( anta, i ) ; draw ( i, -anta ) -- ( i, anta ) ; endfor ; endfig ; end ; Karel