What is VBScript?

 VBScript is a scripting language.



As with algebra, VBScript variables are used to hold values or expressions.

Rules.
• Must begin with a letter
• Cannot contain a period (.)
• Cannot exceed 255 characters








Basic Functions:

VBScript MsgBox Function
The MsgBox function displays a message box and waits for the user to click a button
and then an action is performed based on the button clicked by the user. 
Example: MsgBox("Welcome") 

VBScript InputBox Function
The InputBox function displays a dialog box, where the user can write some input
and/or click on a button. If the user clicks the OK button or presses ENTER on the
keyboard, the InputBox function will return the text in the text box. If the user clicks
on the Cancel button, the function will return an empty string (" ").
dim fname
fname=InputBox("Enter your name:")
MsgBox("Your name is " & fname)




VBScript Operators.

In VBScript, operators are used to perform an operation. For example, an
operator could be used to assign a value to a variable. An operator could also
be used to compare two values. 

Artithmetic Operator
Operator               Description
+                            Addition
-                             Subtraction
*                             Multiplication
/                              Division
\                              Integer Division (divides 
                               two numbers and returns 
                               an integer result)
Mod                        Modulus (remainder of a 
                               division)
^                             Exponentiation (raises the 
                               number to the power of 
                               an exponent)

Operator Description
=             Assign



Comparison Operators
Operator Description
=              Is equal to
<>            Is not equal to
>              Greater than
>=            Greater than or equal to
<              Less than
<=            Less than or equal to

Logical Operators
Operator                           Description
And                                   Performs a logical 
                                          conjunction on two 
                                          expressions (if
                                          both expressions 
                                          evaluate to True, 
                                          result is True. If
                                          either expression 
                                          evaluates to False, 
                                          result is False)
Or                                      Performs a logical 
                                          disjunction on two 
                                          expressions (if
                                          either or both 
                                          expressions 
                                          evaluate to True, 
                                          result is True).
Not                                    Performs logical 
                                          negation on an 
                                          expression.
Xor                                    Performs a logical 
                                          exclusion on two 
                                          expressions (if
                                          one, and only one, 
                                          of the expressions 
                                          evaluates to True, 
                                          result is True. 
                                          However, if either 
                                          expression isNull, 
                                          result is also Null).



Concatenation Operators
Operator           Description
&                       Concatenate (join two strings 
                          together)
+                        Adds two numbers together







Bibliography. 

Z. (2021, 16 julio). The Rules Da Rulez GIF - The Rules Da Rulez Discord Rules - Discover & Share GIFs. Tenor. https://tenor.com/view/the-rules-da-rulez-discord-rules-discord-rules-gif-22355327


Pedamkar, P. (2021, 9 abril). What is VBScript? EDUCBA. https://www.educba.com/what-is-vbscript/


Wikipedia contributors. (2022, 25 agosto). VBScript. Wikipedia. https://en.wikipedia.org/wiki/VBScript


VBScript Scripting Techniques: Prompt for User Input. (s. f.). VBScript. https://www.robvanderwoude.com/vbstech_ui_userinput.php


VBScript Full Examples - Tutorial Parte 1 Ejemplos. (2017, 8 mayo). YouTube. https://www.youtube.com/watch?v=mGrlHsoJnng








Comentarios