Subversion Repositories wimsdev

Rev

Rev 5763 | Blame | Compare with Previous | Last modification | View Log | RSS feed

!set methtit2=Óüòµ¥ËãÊõÒý½øÆ½·²²»µÈʽ
!set methtit=Òý½øÆ½·²²»µÈʽ
!set methenv=ZZ QQ RR
!set methparmtype=function, choice 4, function
!set methhelp=´Ë·½·¨ÔÊÐíÄã°Ñ²»µÈʽ \(A > B)\
¼ÓÈë¼ÙÉè, ÕâÀï \(A - B) ÊÇÒ»¸öÕýÊý.

!if $wims_read_parm iswordof form check
 !goto $wims_read_parm
!endif

!exit
:form
 ÒýÈëÆ½·²²»µÈʽ
 <input size=12 name=methparm1 value="$methparm1">
 !formselect methparm2 from 1 to 4 prompt <,>,<=,>=
 <input size=12 name=methparm3 value="$methparm3">
 !set methremark=ÄãµÄ²»µÈʽ¾­¹ý¼òµ¥ÔËËãºó±ØÐëÊÇÏÔÈ»µÄ.

!exit
:check
 sign=!item $methparm2 of <,>,<=,>=
 !read deduc/sub/checkineq ($methparm1) - ($methparm3),$sign,0
 !if $out!=true
  !if $out=false
   error=ÄãµÄ²»µÈʽ²»³ÉÁ¢!
   !advance penalty
  !else
   error=unjustified
  !endif
  !exit
 !endif

 newobject0=$methparm1 $sign $methparm3
 oldobject=0
 methexp=ÏÔÈ»µÄ²»µÈʽ

!exit