O'Reilly logo

Microsoft® VBScript Step by Step by Ed Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A. VBScript Documentation

Constants

The constants in Table A-1 through Table A-6 are built into Microsoft Visual Basic, Scripting Edition (VBScript) and therefore do not need to be defined prior to use. You can use them anywhere in your code to represent the values shown.

Table A-1. String constants

Constant

Value

Description

vbCr

Chr(13)

Carriage return

VbCrLf

Chr(13) and Chr(10)

Carriage return–linefeed combination

vbFormFeed

Chr(12)

Form feed; not useful in Microsoft Windows

vbLf

Chr(10)

Line feed

vbNewLine

Chr(13) and Chr(10) or Chr(10)

Platform-specific newline character; whatever is appropriate for the platform

vbNullChar

Chr(0)

Character having the value 0

vbNullString

String having value 0

Not the same as a zero-length string (""); used for calling external ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required