Eval function
Calculates the value of an expression and returns the result.
[Result =]Eval (Expression) Parameters
Result
Optional. Is a variable used to accept the returned results. If no result is specified, consider usingExecuteStatement.
How to Use variables for group chat and whispering?
If request. Form ("XT") = "on" then
'Determine whether to whisper.
Application. Lock
'Is whisper,Continue to proceed.
Application (Session ("username") = temppos &
Dim statement
Declare variables and allocate buckets.
DimVarname [([subscripts])] [, varname [([subscripts])]...Parameters
Varname
Variable name, which complies with the naming conventions of standard variables.
Subscripts
The dimension of the
Instr Functions
Returns the position where a string appears for the first time in another string.
Instr ([Start,] string1, string2 [, compare]) Parameters
Start
Optional. Value expression, used to set the start position of each search. If
For each... next statement
Execute a set of statements repeatedly for each element in an array or set.
For eachElement in group[Statements][Exit for][Statements]Next[Element] Parameters
Element
Used to enumerate variables of all elements in a
Isnull Function
Returns a Boolean value indicating whether the expression does not contain any valid data (null ).
Isnull (Expression)
ExpressionThe parameter can be any expression. Description
IfExpressionIsNull, ThenIsnullReturnTrueThat is,
Scriptenginemajorversion Function
Returns the main version number of the script engine.
ScriptenginemajorversionDescription
The returned value directly corresponds to the script used.ProgramThe version information contained in the DLL file in the
Copy Method
Copy the specified file or folder from one location to another.
Object.CopyDestination [, overwrite] Parameters
Object
Required. Should beFileOrFolderObject Name.
Destination
Required. The destination location of the copied
How can I replace the case?
Function replacenoignorecase (STR, replstr) If Len (replstr) Replacetest = StrExit FunctionEnd if Dim loopnLoopn = 1 Dim tmpstr, Nth N, lenreplstr, USTR, ureplstrLenreplstr = Len (replstr)Tmpstr = StrUSTR =
Execute Method
Perform regular expression search on the specified string.
Object.Execute (String) Parameters
Object
Required. Always oneRegexpObject Name.
String
Required. The text string on which the regular expression is to be executed.
Chunfeng. asp
'The page shows what has been arranged and the link at the bottom can be turned around by month.
'The Code contains the function for getting data connections. If the data source changes, you only need to edit the connection
Use conditional statements to Control Program Execution
You can use conditional statements and cyclic statements to control the script process. You can use conditional statements to write VBScript code for judgment and repeated operations. The
CreateObject Function
Create and return the reference to the Automation Object.
CreateObject(servername.typename [, location])Parameters
Servername
Required. Provide the application name of the object.
Typename
Required. The object type or class to
Asc Functions
Returns the ANSI character code corresponding to the first letter of the string.
Asc (String)
StringThe parameter is any valid string expression. IfStringIf the parameter does not contain characters, a runtime error
DateDiff Function
Returns the interval between two dates.
DateDiff(interval, date1, date2 [,firstdayofweek[, firstweekofyear]])
DateDiffThe function syntax includes the following parameters:Parameters
Interval
Required. String expression used for
InputBox Function
A prompt is displayed in the dialog box. Wait for the user to enter the text or click the button, and return the text box content.
InputBox(prompt[,title][,default][,xpos][,ypos][,helpfile,context])Parameters
Prompt
String
FirstIndex attributes
Returns the matched position in the search string.
object.FirstIndex
ObjectThe parameter is alwaysMatchObject.Description
FirstIndexThis attribute uses the offset calculated from zero. This offset is relative to the start
Pattern attributes
Set or return the regular expression pattern to be searched.
object.Pattern [= "searchstring"]Parameters
Object
Required. Always oneRegExpObject variable.
Searchstring
Optional. The regular string expression to be searched. It may
With statement
Execute a series of statements on an object.
With objectstatementsEnd WithParameters
Object
Required. It can be an object name or a function whose return value is an object.
Statements
Required. To pairObjectOne or more
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service