水加热计算

时间:2016-09-30 10:15:53
【文件属性】:

文件名称:水加热计算

文件大小:10KB

文件格式:TXT

更新时间:2016-09-30 10:15:53

水加热

ASP函数 IsNull()   FUNCTION: 判断一对象是否为空,返回布尔值.   SYNTAX: IsNull(expression)   ARGUMENTS:   EXAMPLE: $#@60;%       Dim i       response.write IsNull(i)       %>   RESULT: False IsNumeric()   FUNCTION: 判断一对象是否为数字,返回布尔值.   SYNTAX: IsNumeric(expression)   ARGUMENTS:   EXAMPLE: $#@60;%        i = "345"        response.write IsNumeric(i)       %>   RESULT: True 就算数字加了引号,ASP还是认为它是数字。 IsObject()   FUNCTION: 判断一对象是否为对象,返回布尔值.   SYNTAX: IsObject(expression)   ARGUMENTS:   EXAMPLE: $#@60;%        Set con = Server.CreateObject("ADODB.Connection")        response.write IsObject(con)       %>   RESULT: True LBound()   FUNCTION: 返回指定数组维的最小可用下标.   SYNTAX: Lbound(arrayname [, dimension])   ARGUMENTS: ; dimension 指明要返回哪一维下界的整数。使用 1 表示第一维,2 表示第二维,以此类推。如果省略          dimension 参数,默认值为 1.   EXAMPLE: $#@60;%        i = Array("Monday","Tuesday","Wednesday")        response.write LBound(i)        %>   RESULT: 0 LCase()   FUNCTION: 返回字符串的小写形式   SYNTAX: Lcase(string)   ARGUMENTS: string is any valid string expression.   EXAMPLE: $#@60;%        strTest = "This is a test!"        response.write LCase(strTest)       %>   RESULT: this is a test! Left() <   FUNCTION: 返回字符串左边第length个字符以前的字符(含第length个字符).   SYNTAX: Left(string, length)   ARGUMENTS:   EXAMPLE: $#@60;%       strTest = "This is a test!"       response.write Left(strTest, 3)       %>   RESULT: Thi Len()   FUNCTION: 返回字符串的长度.   SYNTAX: Len(string | varName)   ARGUMENTS:   EXAMPLE: $#@60;%        strTest = "This is a test!"        response.write Len(strTest)       %>   RESULT: 15 LTrim()   FUNCTION: 去掉字符串左边的空格.   SYNTAX: LTrim(string)   ARGUMENTS:   EXAMPLE: $#@60;%       strTest = " This is a test!"       response.write LTrim(strTest)       %>   RESULT: This is a test! Mid()   FUNCTION: 返回特定长度的字符串(从start开始,长度为length).   SYNTAX: Mid(string, start [, length])   ARGUMENTS:   EXAMPLE: $#@60;%        strTest = "This is a test! Today is Monday."        response.write Mid(strTest, 17, 5)       %>   RESULT: Today


网友评论