hi,I want to draw the point of intersection on two cures.For example,the point of inersection on Line y=x and parabola y=x*x (-2<=x<=2).But it is failure for the following program segment:What's wrong with it? Hope to explain it.Thank you a lot.Code:`For x=-2 to 2 step 0.01`

Picture1.ForeColor=vbBlack

If x=x*x then

Picture1.Forecolor=vbRed

Picture1.Pset(x,x)

Else

Picture1.Pset(x,x*x)

Endif

Next x