Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

VBScript: Understanding Operators in this Scripting Language, Study notes of Computer Numerical Control

An introduction to visual basic script (vbscript), focusing on its operators. Vbscript is a subset of microsoft visual basic used in world wide web xhtml documents to enhance web page functionality. It is a case-insensitive language with arithmetic, logical, concatenation, comparison, and relational operators. The differences between vbscript's arithmetic operators and their javascript counterparts, as well as an overview of vbscript's logical operators and their uses.

Typology: Study notes

2010/2011

Uploaded on 09/06/2011

nirmalya
nirmalya 🇮🇳

4.5

(2)

17 documents

1 / 10

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
VBScript
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download VBScript: Understanding Operators in this Scripting Language and more Study notes Computer Numerical Control in PDF only on Docsity!

VBScript

Introduction

  • (^) Visual Basic Script (VBScript) is a subset of Microsoft Visual Basic® used in World Wide Web XHTML documents to enhance the functionality of a Web page
  • (^) Microsoft’s Internet Explorer Web browser contains a VBScript scripting engine (i.e., an interpreter) that executes VBScript code
  • (^) VBScript’s arithmetic operators are similar

to the JavaScript arithmetic operators.

  • (^) Two major differences are
    • The division operator , ** , which returns

an integer result.

  • The exponentiation operator , ^ , which

raises a value to a power.

VBScript’s comparison operators

  • (^) Only the symbols for the equality operator and the inequality operator are different in JavaScript.
  • (^) In VBScript, these comparison operators may also be used to compare strings.
  • (^) VBScript provides 2 operators for string

concatenation

  • Plus sign, +
  • Ampersand ,&, formally called the

string concatenation operator.

s1 = "Pro"

s2 = “gram”

s3 = s1 & s2 or s3 = s1 + s