Page 1 of 1
Removed
Posted: Fri Feb 22, 2008 11:01 pm
by Dr_Wildrick
Removed
Posted: Fri Feb 22, 2008 11:06 pm
by AND51
Why not using a macro?
Code: Select all
Macro Interpolate(x, y, dx, dy)
((x*dy+y*dx)/(dx+dy))
EndMacro
Posted: Fri Feb 22, 2008 11:14 pm
by Dr_Wildrick
Removed
Posted: Sat Feb 23, 2008 2:43 am
by #NULL
didn't we just have that? (added some brackets

)
Code: Select all
Macro Interpolate(x, y, dx, dy)
(((x)*(dy)+(y)*(dx))/((dx)+(dy)))
EndMacro
especially if you use mult./div. ..
Removed
Posted: Sat Feb 23, 2008 3:07 am
by Dr_Wildrick
Removed
Posted: Sat Feb 23, 2008 3:20 am
by #NULL
it's just if you use a macro with expressions, like an addition at place of a macro-parameter. the inner calculation becomes wierd as the results.
Removed
Posted: Sat Feb 23, 2008 3:23 am
by Dr_Wildrick
Removed