please dont rip this site
Microsoft® Visual Basic® Scripting Edition
VBScript Features
Tutorial  new version 5 @ms Contents
Arrays see also: Enumerate Object, For Each. Dynamic: DIM array():REDIM array(size)
Array, Dictionary
IsArray

Dim varname(subscripts), ReDim [Preserve] varname(subscripts)
Private, Public
LBound, UBound
Erase
Split (expression[, delimiter[, count[, compare]]])
Filter ( list, value [, include? [, compare]])
Join
(list[, delimiter])
Dates/Times
Date, Time, Now
DateAdd, DateDiff
DateSerial, DateValue

TimeSerial, TimeValue
Year, Month, Day
Hour, Minute, Second
Weekday
, FormatDateTime , DatePart
Server.ScriptTimeout
Strings See: Regular Expressesion Patterns at MSDN
String concatenation (&)
Instr ([start, ]string1, string2[, compare])
InStrB, InstrRev
Replace (expression, find, replacewith[, start[, count[, compare]]])
Left(string, length), LeftB
Mid(string, start, length), MidB
Right(string, length), RightB
LTrim(string), RTrim, Trim
Asc, AscB, AscW
Chr, ChrB, ChrW
Len, LenB
LCase, UCase
Space, String
StrComp
StrReverse

StripHTML(string)
Control flow
Do...Loop
For...Next
For Each...Next
If  condition Then [stmts] Else [stmts]
If condition Then ¶ [stmts] ¶ [ElseIf con Then ¶ [stmts]] ¶ [Else ¶ [stmts]] ¶ End If
Select Case tstexpr ¶[Case [Else] expr [,expr] ¶ stmts ] ¶ End Select
While...Wend
Call, Function, Sub
Equality (=), Inequality (<>)
Less Than (<), Less Than or Equal To (<=)
Greater Than (>), Greater Than or Equal To (>=)
And, Or, Xor
Eqv, Imp
IsArray, IsDate, IsEmpty, IsNull, IsNumeric, IsObject
object Is object
VarType, TypeName
Conversions
Asc, AscB, AscW
Chr, ChrB, ChrW
CBool, CByte
CCur,
CInt, CSng, CDbl, CLng
CStr
CDate
DateSerial, DateValue
TimeSerial, TimeValue
Hex, Oct
Fix, Int
Sgn
Declarations
Const
Dim, ReDim
Private, Public
Function, Sub
Input/Output
InputBox, MsgBox
LoadPicture, imgClass
Request, Response
FileSystem, File, TextStream
Active Data Objects (ADO) adodb.Stream
FormatCurrency ( expr [, DigitsAfterDec
FormatDateTime
FormatNumber
FormatPercent
Number as text
Math
Addition (+), Subtraction (-)
Exponentiation (^)
Modulus arithmetic (Mod)
Multiplication (*), Division (/), Integer Division (\)
Negation (-)
Abs
Atn, Cos, Sin, Tan
Exp, Log, Sqr
Randomize, Rnd

Round, Int, Fix,
Sgn
Objects Set, GetObject, CreateObject, objects, components Variants VarType, TypeName
Comments Comments using ' or Rem
Constants/Literals Empty, Nothing, Null, True, False Error Handling On Error, Err, Option Explicit
Script Engine ID ScriptEngine, ScriptEngineBuildVersion
ScriptEngineMajorVersion, ScriptEngineMinorVersion


file: /Techref/language/asp/vbs/vbscript/199.htm, 12KB, , updated: 2017/11/9 11:02, local time: 2024/12/8 19:17,
TOP NEW HELP FIND: 
18.97.14.82:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.piclist.com/techref/language/asp/vbs/vbscript/199.htm"> Microsoft&reg; Visual Basic&reg; Scripting Edition </A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2024 contributors:
o List host: MIT, Site host massmind.org, Top posters @none found
- Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .