>
、 num2 Then, Response.Write("num1 is greater than num2"),ElseIf num1< num2 Then, Response.Write("num1 is less than num2"),Else, Response.Write("num1 is equal to num2"),End If,
``If
语句和字符串函数来比较字符串。,,``asp,If str1 = str2 Then, Response.Write("Strings are equal"),Else, Response.Write("Strings are not equal"),End If,
``DateDiff("s", date1, date2)
会返回两个日期之间的秒数差。Powered By Z-BlogPHP 1.7.3