K kiu Unregistered / Unconfirmed GUEST, unregistred user! 2002-03-11 #1 U_Y := (ROUND(110.9481458*(U_MY1-U_MY2)*10000000)/10000000)^2; 调试出错为ointer type required 怎么搞定??
雪 雪鹰 Unregistered / Unconfirmed GUEST, unregistred user! 2002-03-11 #2 object pascal里面幂不是用'^'表示. 如果想求幂的话,用Power函数(要uses math) function Power(const Base, Exponent: Extended): Extended; Description Power raises Base to any power. For fractional exponents or exponents greater than MaxInt, Base must be greater than 0.
object pascal里面幂不是用'^'表示. 如果想求幂的话,用Power函数(要uses math) function Power(const Base, Exponent: Extended): Extended; Description Power raises Base to any power. For fractional exponents or exponents greater than MaxInt, Base must be greater than 0.