VBScript - Most Popular Scripting Language

Share Embed Donate


Short Description

The VBScript Code is case Insensitive. Microsoft Visual Basic Scripting Edition brings active scripting to a wide variet...

Description

VB Script

1

Subjects for Session Vbscript fundamentals. Variant subtypes. Variables.

Option Explicit statement. Keywords. Scope and liftime of variables.

Dim, Private and Public statements. Rem statement.

2

What is VBScript? •





A Safe subset of visual basic  The VBScript VBScript ode is case !nsensitive. !nsensitive. "icrosoft Visual Basic Scriptin# $dition brin#s active scriptin# to a wide variety of environments, includin# Web client scriptin# in "icrosoft !nternet $%plorer and Web server scriptin# in "icrosoft !nternet !nformation Service &!!S'.

3

"icrosoft( Script Timeline

Version /.*

!nternet $%plorer ).* +-

Version 0.*

!!S 0 /0-

Version ).*

Version )./

!nternet Windows $%plorer 1.* -+ +-2

Version 1.*

Visual Studio 

Version 3.*

!nternet $%plorer 3.* Win 4T 3.*

4ote5 6uic7Test uses VBScript 3. 4

Scriptin# for Speci8c 9latfor 9latforms ms •

VBScript :





desi#ned to run on multiple platforms platforms that use the Active; Scriptin# !nterface.

VBA &VB for Applications' :

"ore sophisticated customiata Types Variant Subtypes



Beyond the simple numeric or strin# classi8cations, a Variant can ma7e further distinctions about the speci8c nature of numeric information.



or e%ample, e%ample, you can have ha ve numeric information that represents repre sents a date or a time.



When used with other date or time data, the result is always e%pressed as a date or a time. t ime.



 @ou can also have a rich variety of numeric information  @ou information ran#in# in siata Types Variant Subtypes Subt Su btyp ype e $mpty

4ull

Desc De scri ript ptio ion n  

 

Variant is uninitialiate'

13



$mpty :



4ull :



True 7eyword  The True  7eyword has a value eJual to /.

alse :



Null 7eyword  The Null  7eyword is used to indicate that a variable contains no valid data.

 True  T rue :



Empty 7eyword  The Empty  7eyword is used to indicate an uninitiali
View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF