⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 b4.cfm.htm

📁 最全的ASP教程
💻 HTM
📖 第 1 页 / 共 3 页
字号:
</B><I><P ALIGN="JUSTIFY">odject.Add(key,item)</P>
</I><P ALIGN="JUSTIFY">向字典对象中添加一个关键字和条目对。</P>
<B><P ALIGN="JUSTIFY">Exists</P>
</B><I><P ALIGN="JUSTIFY">odject.Exists(key)</P>
</I><P ALIGN="JUSTIFY">返回True,如果在字典对象中存在<I>key</I>关键字;否则返回false。</P>
<B><P ALIGN="JUSTIFY">Items</P>
</B><I><P ALIGN="JUSTIFY">odject.Items()</P>
</I><P ALIGN="JUSTIFY">以数组形式返回字典对象中的所有条目(Item)。</P>
<B><P ALIGN="JUSTIFY">Keys</P>
</B><I><P ALIGN="JUSTIFY">odject.Keys()</P>
</I><P ALIGN="JUSTIFY">以数组形式返回字典对象中的所有关键字(key)。</P>
<B><P ALIGN="JUSTIFY">Remove</P>
</B><I><P ALIGN="JUSTIFY">odject.Remove(key)</P>
</I><P ALIGN="JUSTIFY">从字典对象中删除关键字等于<I>key</I>的关键字和条目对。</P>
<B><P ALIGN="JUSTIFY">RemoveAll</P>
</B><I><P ALIGN="JUSTIFY">odject.RemoveAll()</P>
</I><P ALIGN="JUSTIFY">从字典对象中删除所有的关键字和条目对。</P>
</FONT><B><FONT FACE="宋体" LANG="ZH-CN" SIZE=4><P ALIGN="JUSTIFY">性质(Properties)</P>
</FONT><FONT FACE="宋体" LANG="ZH-CN" SIZE=3><P ALIGN="JUSTIFY">Count</P>
</B><I><P ALIGN="JUSTIFY">odject.Count</P>
</I><P ALIGN="JUSTIFY">返回字典对象的条目数。</P>
<B><P ALIGN="JUSTIFY">Item</P>
</B><I><P ALIGN="JUSTIFY">odject.Item(key)</P>
</I><P ALIGN="JUSTIFY">返回或设置关键字等于<I>key</I>的条目。</P>
<B><P ALIGN="JUSTIFY">Key</P>
</B><I><P ALIGN="JUSTIFY">odject.Key(key)</P>
</I><P ALIGN="JUSTIFY">设置字典对象的关键字。</P>
</FONT><B><FONT FACE="宋体" LANG="ZH-CN" SIZE=5><P ALIGN="JUSTIFY">枚举对象(Enumerator)</P>
</B></FONT><I><FONT FACE="宋体" LANG="ZH-CN" SIZE=3><P ALIGN="JUSTIFY">new Enumerator(collection)</P>
</I><P ALIGN="JUSTIFY">允许你访问一个集合的成员。</P>
</FONT><B><FONT FACE="宋体" LANG="ZH-CN" SIZE=4><P ALIGN="JUSTIFY">方法(Methods)</P>
</FONT><FONT FACE="宋体" LANG="ZH-CN" SIZE=3><P ALIGN="JUSTIFY">atEnd</P>
</B><I><P ALIGN="JUSTIFY">MyEnum.atEnd()</P>
</I><P ALIGN="JUSTIFY">如果当前条目是集合的最后一个,集合为空,或当前条目没有定义时,返回值为true。</P>
<B><P ALIGN="JUSTIFY">item</P>
</B><I><P ALIGN="JUSTIFY">MyEnum.item()</P>
</I><P ALIGN="JUSTIFY">返回当前条目值。</P>
<B><P ALIGN="JUSTIFY">moveFirst</P>
</B><I><P ALIGN="JUSTIFY">MyEnum.moveFirst()</P>
</I><P ALIGN="JUSTIFY">移动到集合的第一个条目。</P>
<B><P ALIGN="JUSTIFY">moveNext</P>
</B><I><P ALIGN="JUSTIFY">MyEnum.moveNext()</P>
</I><P ALIGN="JUSTIFY">移动到集合的下一个条目。</P>
</FONT><B><FONT FACE="宋体" LANG="ZH-CN" SIZE=5><P ALIGN="JUSTIFY">全局对象(global)</P>
</B></FONT><FONT FACE="宋体" LANG="ZH-CN" SIZE=3><P ALIGN="JUSTIFY">当脚本引擎初始化时,全局对象自动创建。</P>
</FONT><B><FONT FACE="宋体" LANG="ZH-CN" SIZE=4><P ALIGN="JUSTIFY">方法(Methods)</P>
</FONT><FONT FACE="宋体" LANG="ZH-CN" SIZE=3><P ALIGN="JUSTIFY">escape</P>
</B><I><P ALIGN="JUSTIFY">escape(charstring)</P>
</I><P ALIGN="JUSTIFY">返回一个字符串的Unicode格式。</P>
<B><P ALIGN="JUSTIFY">eval</P>
</B><I><P ALIGN="JUSTIFY">eval(codestring)</P>
</I><P ALIGN="JUSTIFY">执行或计算包含在<I>codestring</I>中的JScript代码。</P>
<B><P ALIGN="JUSTIFY">isFinite</P>
</B><I><P ALIGN="JUSTIFY">isFinite(number)</P>
</I><P ALIGN="JUSTIFY">如果<I>number</I>值有限,则返回值为真(true)。</P>
<B><P ALIGN="JUSTIFY">ifNan</P>
</B><I><P ALIGN="JUSTIFY">isNan(numvalue)</P>
</I><P ALIGN="JUSTIFY">确定<I>numvalue</I>是不是一个数。</P>
<B><P ALIGN="JUSTIFY">parseFloat</P>
</B><I><P ALIGN="JUSTIFY">parseFloat(numstring)</P>
</I><P ALIGN="JUSTIFY">把字符串转换成浮点数类型的数。</P>
<B><P ALIGN="JUSTIFY">parseInt</P>
</B><I><P ALIGN="JUSTIFY">parseInt(numstring[,radix])</P>
</I><P ALIGN="JUSTIFY">把字符串转换成整数。</P>
<B><P ALIGN="JUSTIFY">unescape</P>
</B><I><P ALIGN="JUSTIFY">unescape(charstring)</P>
</I><P ALIGN="JUSTIFY">对用Unicode格式加码的字符串进行解码。</P>
</FONT><B><FONT FACE="宋体" LANG="ZH-CN" SIZE=4><P ALIGN="JUSTIFY">性质(Properties)</P>
</FONT><FONT FACE="宋体" LANG="ZH-CN" SIZE=3><P ALIGN="JUSTIFY">NaN</P>
</B><I><P ALIGN="JUSTIFY">NaN</P>
</I><P ALIGN="JUSTIFY">具有NaN初始值(不是数)。</P>
<B><P ALIGN="JUSTIFY">Infinity 性质</P>
</B><I><P ALIGN="JUSTIFY">Infinity</P>
</I><P ALIGN="JUSTIFY">具有POSITIVE_INFINITY初始值。</P>
</FONT><B><FONT FACE="宋体" LANG="ZH-CN" SIZE=5><P ALIGN="JUSTIFY">函数对象(Function)</P>
</FONT><FONT FACE="宋体" LANG="ZH-CN" SIZE=3><P ALIGN="JUSTIFY">语法1:</P>
</B><I><P ALIGN="JUSTIFY">function functionname([argument1[,...argumentN]])</P>
<P ALIGN="JUSTIFY">{</P>
<P ALIGN="JUSTIFY">   body</P>
<P ALIGN="JUSTIFY">}</P>
</I><B><P ALIGN="JUSTIFY">语法2:</P>
</B><I><P ALIGN="JUSTIFY">var functionname= new Function([argument1,[...argumentN,]] body);</P>
</I><P ALIGN="JUSTIFY">申明一个新函数。</P>
</FONT><B><FONT FACE="宋体" LANG="ZH-CN" SIZE=4><P ALIGN="JUSTIFY">方法(Methods)</P>
</FONT><FONT FACE="宋体" LANG="ZH-CN" SIZE=3><P ALIGN="JUSTIFY">toString</P>
</B><I><P ALIGN="JUSTIFY">functionname.toString()</P>
</I><P ALIGN="JUSTIFY">返回内容为函数名的字符串。</P>
<B><P ALIGN="JUSTIFY">valueOf</P>
</B><I><P ALIGN="JUSTIFY">functionname.valueOf()</P>
</I><P ALIGN="JUSTIFY">返回函数的值。</P>
</FONT><B><FONT FACE="宋体" LANG="ZH-CN" SIZE=4><P ALIGN="JUSTIFY">性质(Properties)</P>
</FONT><FONT FACE="宋体" LANG="ZH-CN" SIZE=3><P ALIGN="JUSTIFY">arguments</P>
</B><I><P ALIGN="JUSTIFY">functionname.arguments()</P>
</I><P ALIGN="JUSTIFY">一个包含所有传递给函数的参数的数组。</P>
<B><P ALIGN="JUSTIFY">caller</P>
</B><I><P ALIGN="JUSTIFY">functionname.caller</P>
</I><P ALIGN="JUSTIFY">指向调用当前函数的函数。</P>
<B><P ALIGN="JUSTIFY">constructor</P>
</B><I><P ALIGN="JUSTIFY">functionname.constructor</P>
</I><P ALIGN="JUSTIFY">指明该函数的构造函数。</P>
<B><P ALIGN="JUSTIFY">prototype</P>
</B><I><P ALIGN="JUSTIFY">functionname.prototype</P>
</I><P ALIGN="JUSTIFY">指向该函数类的原型。</P>
</FONT><B><FONT FACE="宋体" LANG="ZH-CN" SIZE=5><P ALIGN="JUSTIFY">数学对象(Math)</P>
</B></FONT><I><FONT FACE="宋体" LANG="ZH-CN" SIZE=3><P ALIGN="JUSTIFY">Math[.{property|method}]</P>
</I></FONT><B><FONT FACE="宋体" LANG="ZH-CN" SIZE=4><P ALIGN="JUSTIFY">方法(Methods)</P>
</FONT><FONT FACE="宋体" LANG="ZH-CN" SIZE=3><P ALIGN="JUSTIFY">abs</P>
</B><I><P ALIGN="JUSTIFY">Math.abs(number)</P>
</I><P ALIGN="JUSTIFY">返回数的绝对值。</P>
<B><P ALIGN="JUSTIFY">acos</P>
</B><I><P ALIGN="JUSTIFY">Math.acos(number)</P>
</I><P ALIGN="JUSTIFY">返回数<I>number</I>的反余弦值。</P>
<B><P ALIGN="JUSTIFY">asin</P>
</B><I><P ALIGN="JUSTIFY">Math.asin(number)</P>
</I><P ALIGN="JUSTIFY">返回数<I>number</I>的反正弦值。</P>
<B><P ALIGN="JUSTIFY">atan</P>
</B><I><P ALIGN="JUSTIFY">Math.atan(number)</P>
</I><P ALIGN="JUSTIFY">返回数<I>number</I>的反正切值。</P>
<B><P ALIGN="JUSTIFY">atan2</P>
</B><I><P ALIGN="JUSTIFY">Math.atan2(y,x)</P>
</I><P ALIGN="JUSTIFY">返回从X轴到点y,x的角度的弧度值。</P>
<B><P ALIGN="JUSTIFY">ceil</P>
</B><I><P ALIGN="JUSTIFY">Math.ceil(number)</P>
</I><P ALIGN="JUSTIFY">返回大于或等于数<I>number</I>的最小整数值。</P>
<B><P ALIGN="JUSTIFY">cos</P>
</B><I><P ALIGN="JUSTIFY">Math.cos(number)</P>
</I><P ALIGN="JUSTIFY">返回数<I>number</I>的余弦值。</P>
<B><P ALIGN="JUSTIFY">exp</P>
</B><I><P ALIGN="JUSTIFY">Math.exp(number)</P>
</I><P ALIGN="JUSTIFY">返回<I>e</I>的<I>number次幂</I>。</P>
<B><P ALIGN="JUSTIFY">floor</P>
</B><I><P ALIGN="JUSTIFY">Math.floor(number)</P>
</I><P ALIGN="JUSTIFY">返回小于或等于数<I>number</I>的最大整数值。</P>
<B><P ALIGN="JUSTIFY">log</P>
</B><I><P ALIGN="JUSTIFY">Math.log(number)</P>
</I><P ALIGN="JUSTIFY">返回数<I>number</I>的自然对数值。</P>
<B><P ALIGN="JUSTIFY">max</P>
</B><I><P ALIGN="JUSTIFY">Math.max(number1,number2)</P>
</I><P ALIGN="JUSTIFY">返回两个数的较大值。</P>
<B><P ALIGN="JUSTIFY">min</P>
</B><I><P ALIGN="JUSTIFY">Math.min(number1,number2)</P>
</I><P ALIGN="JUSTIFY">返回两个数的较小值。</P>
<B><P ALIGN="JUSTIFY">pow</P>
</B><I><P ALIGN="JUSTIFY">Math.pow(base,exponent)</P>
</I><P ALIGN="JUSTIFY">返回数<I>base</I>的<I>expinent</I>次幂。</P>
<B><P ALIGN="JUSTIFY">radom</P>
</B><I><P ALIGN="JUSTIFY">Math.random()</P>
</I><P ALIGN="JUSTIFY">返回在0~1之间的随机数。</P>
<B><P ALIGN="JUSTIFY">round</P>
</B><I><P ALIGN="JUSTIFY">Math.round(number)</P>
</I><P ALIGN="JUSTIFY">把数<I>number</I>舍入到最近的整数。</P>
<B><P ALIGN="JUSTIFY">sin</P>
</B><I><P ALIGN="JUSTIFY">Math.sin(number)</P>
</I><P ALIGN="JUSTIFY">返回数<I>number</I>的正弦值。</P>
<B><P ALIGN="JUSTIFY">sqrt</P>
</B><I><P ALIGN="JUSTIFY">Math.sqrt(number)</P>
</I><P ALIGN="JUSTIFY">返回数<I>number</I>的平方根。</P>
<B><P ALIGN="JUSTIFY">tan</P>
</B><I><P ALIGN="JUSTIFY">Math.tan(number)</P>
</I><P ALIGN="JUSTIFY">返回数<I>number</I>的正切值。</P>
</FONT><B><FONT FACE="宋体" LANG="ZH-CN" SIZE=4><P ALIGN="JUSTIFY">性质(properties)</P>
</FONT><FONT FACE="宋体" LANG="ZH-CN" SIZE=3><P ALIGN="JUSTIFY">E</P>
</B><I><P ALIGN="JUSTIFY">Math.E</P>
</I><P ALIGN="JUSTIFY">返回欧拉常数。</P>
<B><P ALIGN="JUSTIFY">LN2</P>
</B><I><P ALIGN="JUSTIFY">Math.LN2</P>
</I><P ALIGN="JUSTIFY">返回2的自然对数值。</P>
<B><P ALIGN="JUSTIFY">LN10</P>
</B><I><P ALIGN="JUSTIFY">Math.LN10</P>
</I><P ALIGN="JUSTIFY">返回10的自然对数值。</P>
<B><P ALIGN="JUSTIFY">LOG2E</P>
</B><I><P ALIGN="JUSTIFY">Math.LOG2E</P>
</I><P ALIGN="JUSTIFY">返回底数为2时e的对数值。</P>
<B><P ALIGN="JUSTIFY">LOG10E</P>
</B><I><P ALIGN="JUSTIFY">Math.LOG10E</P>
</I><P ALIGN="JUSTIFY">返回底数为10时e的对数值。</P>
<B><P ALIGN="JUSTIFY">PI</P>
</B><I><P ALIGN="JUSTIFY">Math.PI</P>
</I><P ALIGN="JUSTIFY">返回圆周率<FONT FACE="Symbol">&#112;</FONT>
的值。</P>
<B><P ALIGN="JUSTIFY">SQRT1_2</P>
</B><I><P ALIGN="JUSTIFY">Math.SQRT1_2</P>
</I><P ALIGN="JUSTIFY">返回根号2的倒数。</P>
<B><P ALIGN="JUSTIFY">SQRT2</P>
</B><I><P ALIGN="JUSTIFY">Math.SQRT2</P>
</I><P ALIGN="JUSTIFY">返回根号2的值。</P>
</FONT><B><FONT FACE="宋体" LANG="ZH-CN" SIZE=5><P ALIGN="JUSTIFY">数字对象(Number)</P>
</B></FONT><I><FONT FACE="宋体" LANG="ZH-CN" SIZE=3><P ALIGN="JUSTIFY">new Number(value)</P>
</I><P ALIGN="JUSTIFY">一个代表数数据类型的对象,也用于放置常数。</P>
</FONT><B><FONT FACE="宋体" LANG="ZH-CN" SIZE=4><P ALIGN="JUSTIFY">方法(Methods)</P>
</FONT><FONT FACE="宋体" LANG="ZH-CN" SIZE=3><P ALIGN="JUSTIFY">toString</P>
</B><I><P ALIGN="JUSTIFY">numobject.toString</P>
</I><P ALIGN="JUSTIFY">把数转换成字符串。</P>
<B><P ALIGN="JUSTIFY">valueOf</P>
</B><I><P ALIGN="JUSTIFY">numobject.valueOf()</P>
</I><P ALIGN="JUSTIFY">返回数的值。</P>
</FONT><B><FONT FACE="宋体" LANG="ZH-CN" SIZE=5><P ALIGN="JUSTIFY">对象对象(Object)</P>
</B></FONT><I><FONT FACE="宋体" LANG="ZH-CN" SIZE=3><P ALIGN="JUSTIFY">new Object([value])</P>
</I><P ALIGN="JUSTIFY">这种对象具有所有对象共有的方法和性质。</P>
</FONT><B><FONT FACE="宋体" LANG="ZH-CN" SIZE=4><P ALIGN="JUSTIFY">方法(Methods)</P>
</FONT><FONT FACE="宋体" LANG="ZH-CN" SIZE=3><P ALIGN="JUSTIFY">toString</P>
</B><I><P ALIGN="JUSTIFY">objectname.string</P>
</I><P ALIGN="JUSTIFY">返回包含该对象名称的字符串。</P>
<B><P ALIGN="JUSTIFY">valueOf</P>
</B><I><P ALIGN="JUSTIFY">objectname.valueOf</P>
</I><P ALIGN="JUSTIFY">返回对象本身。</P>
</FONT><B><FONT FACE="宋体" LANG="ZH-CN" SIZE=4><P ALIGN="JUSTIFY">性质(properties)</P>
</FONT><FONT FACE="宋体" LANG="ZH-CN" SIZE=3><P ALIGN="JUSTIFY">constructor</P>
</B><I><P ALIGN="JUSTIFY">objectname.constructor</P>
</I><P ALIGN="JUSTIFY">指明对象的构造函数。</P>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -