Sideway BICK BlogSideway BICK BLOG from Sideway

A Sideway to Sideway Home

Link:http://output.to/sideway/default.asp?qno=180400012

Script, Scripting Language, VBScript, Keyword

VBScript Keywords

Keyword is a word used in Visual Basic with a specific purpose or special meaning. There are two types of keywords, Reserved Keywords, and Unreserved Keywords. 

Reserved Keywords

Reserved keyword is a word that cannot be used as names for programming elementss such as variables or procedures. But this restriction can be bypassed by enclosing the name in brackets, […]. The following keywords are reserved for Visual Basic language 

AddHandler, AddressOf, Alias, And, AndAlso, As, Boolean, ByRef, Byte, ByVal, Call, Case, Catch, CBool, CByte, CChar, CDate, CDbl, CDec, Char, CInt, Class Constraint, Class Statement, CLng, CObj, Const, Continue, CSByte, CShort, CSng, CStr, CType, CUInt, CULng, CUShort, Date, Decimal, Declare, Default, Delegate, Dim, DirectCast, Do, Double, Each, Else, ElseIf, End Statement, End <keyword>, EndIf, Enum, Erase, Error, Event, Exit, False, Finally, For (in For…Next), For Each…Next, Friend, Function, Get, GetType, GetXMLNamespace, Global, GoSub, GoTo, Handles, If, If(), Implements, Implements Statement, Imports (.NET Namespace and Type), Imports (XML Namespace), In, In (Generic Modifier), Inherits, Integer, Interface, Is, IsNot, Let, Lib, Like, Long, Loop, Me, Mod, Module, Module Statement, MustInherit, MustOverride, MyBase, MyClass, Namespace, Narrowing, New Constraint, New Operator, Next, Next (in Resume), Not, Nothing, NotInheritable, NotOverridable, Object, Of, On, Operator, Option, Optional, Or, OrElse, Out (Generic Modifier), Overloads, Overridable, Overrides, ParamArray, Partial, Private, Property, Protected, Public, RaiseEvent, ReadOnly, ReDim, REM, RemoveHandler, Resume, Return, SByte, Select, Set, Shadows, Shared, Short, Single, Static, Step, Stop, String, Structure Constraint, Structure Statement, Sub, SyncLock, Then, Throw, To, True, Try, TryCast, TypeOf…Is, UInteger, ULong, UShort, Using, Variant, Wend, When, While, Widening, With, WithEvents, WriteOnly, Xor, #Const, #Else, #ElseIf, #End, #If, =, &, &=, *, *=, /, /=, \, \=, ^, ^=, +, +=, -, -=, >> Operator, >>= Operator, <<, <<=,

Reserved VBScript Keywords

The following are keywords used in VBScript

  • And
  • As
  • Boolean
  • ByRef
  • Byte
  • ByVal
  • Call
  • Case
  • Class
  • Const
  • Currency
  • Debug
  • Dim
  • Do
  • Double
  • Each
  • Else
  • ElseIf
  • Empty
  • End
  • EndIf
  • Enum
  • Eqv
  • Event
  • Exit
  • False
  • For
  • Function
  • Get
  • GoTo
  • If
  • Imp
  • Implements
  • In
  • Integer
  • Is
  • Let
  • Like
  • Long
  • Loop
  • LSet
  • Me
  • Mod
  • New
  • Next
  • Not
  • Nothing
  • Null
  • On
  • Option
  • Optional
  • Or
  • ParamArray
  • Preserve
  • Private
  • Public
  • RaiseEvent
  • ReDim
  • Rem
  • Resume
  • RSet
  • Select
  • Set
  • Shared
  • Single
  • Static
  • Stop
  • Sub
  • Then
  • To
  • True
  • Type
  • TypeOf Until
  • Variant
  • Wend
  • While
  • With
  • Xor

Reserved ASP Keywords

The following are keywords used in ASP Script

  • @CODEPAGE
  • @ENABLESESSIONSTATE
  • @LANGUAGE
  • @LCID
  • @TRANSACTION
  • Abandon
  • AddHeader
  • AppendToLog
  • Application
  • Application_OnEnd
  • Application_OnStart
  • ASPCode
  • ASPDescription
  • ASPError
  • BinaryRead
  • BinaryWrite
  • Buffer
  • CacheControl
  • Category
  • Charset
  • Clear
  • ClientCertificate
  • CodePage
  • Column
  • Contents
  • ContentType
  • Cookies
  • CreateObject
  • Description
  • End
  • Execute
  • Expires
  • ExpiresAbsolute
  • File
  • Flush
  • Form
  • GetLastError
  • HTMLEncode
  • IsClientConnected
  • LCID
  • Line
  • Lock
  • MapPath
  • Number
  • ObjectContext
  • OnEndPage
  • OnStartPage
  • OnTransactionAbort
  • OnTransactionCommit
  • PICS
  • QueryString
  • Redirect
  • Remove
  • RemoveAll
  • Request
  • Response
  • ScriptTimeout
  • Server
  • ServerVariables
  • Session
  • Session_OnEnd
  • Session_OnStart
  • SessionID
  • SetAbort
  • SetComplete
  • Source
  • StaticObjects
  • Status
  • Timeout
  • TotalBytes
  • Transfer
  • Unlock
  • URLEncode
  • Write

Unreserved Keywords

Unreserved keyword is a word that can be used as names for programming elementss such as variables or procedures. However, the meaning of the word itself may make the code hard to read and debug. Sometimes, a contextual keyword that is used to provide a specific meaning in the code, is also not a reserved word. The following are unreserved keywords that are not reserved for Visual Basic language.

Aggregate, Ansi, Assembly, Async, Auto, Await, Binary, Compare, Custom, Distinct, Equals, Explicit, From, Group By, Group Join, Into, IsFalse, IsTrue, Iterator, Join, Key, Mid, Off, Order By, Preserve, Skip, Skip While, Strict, Take, Take While, Text, Unicode, Until, Where, Yield, #ExternalSource, #Region,

 

Sideway BICK Blog

12/04


Copyright © 2000-2020 Sideway . All rights reserved Disclaimerslast modified on 26 January 2013