Blame | Last modification | View Log | RSS feed
!set methtit2=·½³Ì³ýÒÔ·ÇÁãÊý
!set methtit=ÓÃÒ»¸öÊý³ý·½³Ì
!set methenv=ZZ QQ RR CC
!set methparmtype=number,parm equation
!set methhelp=´Ë·½·¨°Ñ·½³Ì \(A = B)\
±ä³ÉµÈ¼Û·½³Ì \(A/n = B/n), ÆäÖÐ \(n) ÊÇ·ÇÁãÊý.
!if $wims_read_parm iswordof form check
!goto $wims_read_parm
!endif
!exit
:form
°Ñ·½³Ì
!read deduc/methparm.phtml 2
³ýÒÔÊý
!read deduc/methparm.phtml 1,10
!exit
:check
!distribute items $methparmobj2 into data,left,sign,right
!ifval $methparm1=0
error=ÓÃ 0 ³ý!
!advance penalty
!exit
!endif
methexp=°Ñ \($left $sign $right) ³ýÒÔ \($methparm1)
!read deduc/sub/simplify ($left) / ($methparm1)\
($right) / ($methparm1)
!distribute lines $out into newleft, newright
!if $newleft=$empty or $newright=$empty
error=bad_data
!exit
!endif
newsign=$sign
newobject2=$newleft $newsign $newright
oldobject=2
contextlist=$ct_Onlywhen³ýÊý·ÇÁã,\
$ct_Onlywhen³ýÊýÊÇÕýµÄ,\
$ct_Always,\
$ct_OnlywhenÁ½±ßÊÇÕýµÄ,\
$ct_OnlywhenÁ½±ßͬºÅ
!exit