** Calcuate old values for x,y (m.nOldX,m.nOldY). Used if connect is True.
m.X = m.nFrom
m.nR = eval(m.cEquation)
m.nOldX = m.nR*cos(x)*nEquScale
m.nOldY = m.nR*sin(x)*nEquScale
** Calculate all radius and angle vales by ranging x from the "FROM" nTo the "nTo" parameters.
frmFormName.forecolor = m.nEquColor
FOR m.x = nFrom to nTo STEP m.nStepInc
m.nR = eval(m.cEquation)
tempplotx = m.nR*cos(m.x)*nEquScale
tempploty = m.nR*sin(m.x)*nEquScale
IF m.lConnect
IF m.nYCenter-m.nOldY < m.nTempMaxNum and m.nYCenter-tempploty < m.nTempMaxNum and m.nYCenter-m.nOldY > m.nTempMaxNum*-1 and m.nYCenter-tempploty > m.nTempMaxNum*-1