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

Compuer Science - VB Data Types and Control Structures - Presentation, Study notes of Computer Numerical Control

Description about VBScript, Data Types and Control Structures, Option Explicit , VBScript control structures, controlling program execution.

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
Data Types and Control Structures
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Compuer Science - VB Data Types and Control Structures - Presentation and more Study notes Computer Numerical Control in PDF only on Docsity!

VBScript Data Types and Control Structures

Data Types and Control Structures

  • (^) VBScript has only one data type— variant— that is capable of storing different types of data
  • (^) (e.g., strings, integers, floating-point numbers etc.).
  • (^) a variant contains numeric information, it will be treated as a number; if it contains string information, it will be treated as a string.

VBScript control structures

  • (^) Used for controlling program execution.
  • (^) every VBScript control structure ends with one or more keywords (e.g., End If, Loop, etc.).
  • (^) Keywords delimit a control structure’s body— not curly braces (i.e., {}, as in JavaScript).