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

📄 vbs0.htm

📁 VBScript 是一种脚本语言
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<A NAME="defNothing">&nbsp;</A>
<DT><B>Nothing</B></DT>
<DD>The special value that indicates that an object variable is no longer associated with any actual object.</DD><P>
<HR NOSHADE SIZE=1>

<A NAME="defNull">&nbsp;</A>
<DT><B>Null</B></DT><DD>A value indicating that a variable contains no valid data. <b>Null</b> is the result of:
<UL>
<LI>An explicit assignment of <b>Null</b> to a variable.
<LI>Any operation between expressions that contain <b>Null</b>. 
</UL></DD><P>
<HR NOSHADE SIZE=1>

<A NAME="defNumericExpression">&nbsp;</A>
<DT><B>numeric expression</B></DT>
<DD>Any expression that can be evaluated as a number. Elements of the expression can include any combination of keywords, variables, constants, and operators that result in a number.</DD><P>
<HR NOSHADE SIZE=1>

<A NAME="defObjectType">&nbsp;</A>
<DT><B>object type</B></DT>
<DD>A type of object exposed by an application, for example, Application, File, Range, and Sheet. Refer to the application's documentation (Microsoft Excel, Microsoft Project, Microsoft Word, and so on) for a complete listing of available objects.</DD><P>
<HR NOSHADE SIZE=1>

<A NAME="defpi">&nbsp;</A>
<DT><B>pi</B></DT>
<DD>Pi is a mathematical constant equal to approximately 3.1415926535897932.</DD><P>
<HR NOSHADE SIZE=1>

<A NAME="defPrivate">&nbsp;</A>
<DT><B>Private</B></DT>
<DD>Variables that are visible only to the script in which they are declared.</DD><P>
<HR NOSHADE SIZE=1>

<A NAME="defProcedure">&nbsp;</A>
<DT><B>procedure</B></DT>
<DD>A named sequence of statements executed as a unit. For example, <b>Function</b> and <b>Sub</b> are types of procedures.</DD><P>
<HR NOSHADE SIZE=1>

<A NAME="defProcLevel">&nbsp;</A>
<DT><B>procedure level</B></DT>
<DD>Describes statements located within a <b>Function</b> or <b>Sub</b> procedure. Declarations are usually listed first, followed by assignments and other executable code. For example:
<BLOCKQUOTE><PRE><FONT FACE="Courier New" SIZE=3>
Sub MySub() ' This statement declares a sub procedure block.
    Dim A ' This statement starts the procedure block.
    A = &quot;My variable&quot; ' Procedure-level code.
    Debug.Print A ' Procedure-level code.
End Sub ' This statement ends a sub procedure block.
</FONT></PRE>
</BLOCKQUOTE>
<FONT SIZE=2>Note that script-level code resides outside any procedure blocks.</FONT></DD><P>
<HR NOSHADE SIZE=1>

<A NAME="defProperty">&nbsp;</A>
<DT><B>property</B></DT>
<DD>A named attribute of an object.  Properties define object characteristics such as size, color, and screen location, or the state of an object, such as enabled or disabled.</DD><P>
<HR NOSHADE SIZE=1>

<A NAME="defPublic">&nbsp;</A>
<DT><B>Public</B></DT>
<DD>Variables declared using the <b>Public</b> Statement are visible to all procedures in all modules in all applications.</DD><P>
<HR NOSHADE SIZE=1>

<A NAME="defRuntime">&nbsp;</A>
<DT><B>run time</B></DT>
<DD>The time when code is running. During run time, you can't edit the code.</DD><P><P>
<HR NOSHADE SIZE=1>

<A NAME="defRTErr">&nbsp;</A>
<DT><B>run-time error</B></DT>
<DD>An error that occurs when code is running. A run-time error results when a statement attempts an invalid operation.</DD><P>
<HR NOSHADE SIZE=1>

<A NAME="defScoping">&nbsp;</A>
<DT><B>scope</B></DT>
<DD>Defines the visibility of a variable, procedure, or object. For example, a variable declared as <b>Public</b> is visible to all procedures in all modules. Variables declared in procedures are visible only within the procedure and lose their value between calls.</DD><P>
<HR NOSHADE SIZE=1>

<A NAME="defSCode">&nbsp;</A>
<DT><B>SCODE</B></DT>
<DD>A long integer value that is used to pass detailed information to the caller of an interface member or API function. The status codes for OLE interfaces and APIs are defined in FACILITY_ITF.</DD><P>
<HR NOSHADE SIZE=1>

<A NAME="defScriptLevel">&nbsp;</A>
<DT><B>script level</B></DT>
<DD>Any code outside a procedure is referred to as script-level code.</DD><P>
<HR NOSHADE SIZE=1>

<A NAME="defSeed">&nbsp;</A>
<DT><B>seed</B></DT>
<DD>An initial value used to generate pseudorandom numbers. For example, the <b>Randomize</b> statement creates a seed number used by the <b>Rnd</b> function to create unique pseudorandom number sequences.</DD><P>
<HR NOSHADE SIZE=1>

<A NAME="defStringComparison">&nbsp;</A>
<DT><B>string comparison</B></DT>
<DD>A comparison of two sequences of characters. Unless specified in the function making the comparison, all string comparisons are binary. In English, binary comparisons are case-sensitive; text comparisons are not.</DD><P>
<HR NOSHADE SIZE=1>

<A NAME="defStringExpression">&nbsp;</A>
<DT><B>string expression</B></DT>
<DD>Any expression that evaluates to a sequence of contiguous characters. Elements of a string expression can include a function that returns a string, a string literal, a string constant, or a string variable.</DD><P>
<HR NOSHADE SIZE=1>

<A NAME="defTypeLibrary">&nbsp;</A>
<DT><B>type library</B></DT>
<DD>A file or component within another file that contains standard descriptions of exposed objects, properties, and methods.</DD><P>
<HR NOSHADE SIZE=1>

<A NAME="defVariable">&nbsp;</A>
<DT><B>variable</B></DT>
<DD>A named storage location that can contain data that can be modified during program execution. Each variable has a name that uniquely identifies it within its level of scope.<P>Variable names:
<UL>
<LI>Must begin with an alphabetic character.
<LI>Can't contain an embedded period or type-declaration character.
<LI>Must be unique within the same scope.
<LI>Must be no longer than 255 characters.
</UL>
</DD><P>
<HR NOSHADE SIZE=1>
<p align=center><em><a href="../../common/colegal.htm">&copy; 1997 by Microsoft Corporation. All rights reserved.</a></em></p> 
</FONT></FONT></DL>
</BODY></HTML>






















































































⌨️ 快捷键说明

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