vbscript-minus
OPERATOR: – Implemented in version 1.0 – The – operator has two uses. It is used for subtracting numbers. It also is used to indicated the sign of a number (i.e., -4.5832). Code: <% total = 5.678 – 0.234 – 23.1 %> Output: -17.656
OPERATOR: – Implemented in version 1.0 – The – operator has two uses. It is used for subtracting numbers. It also is used to indicated the sign of a number (i.e., -4.5832). Code: <% total = 5.678 – 0.234 – 23.1 %> Output: -17.656
STATEMENT: ‘ Implemented in version 1.0 ‘ The ‘ statement allows you to insert comments into your code. Code: <% ‘ This is one of two ways to comment in VBScript %> <% Rem This is the other way %>
STATEMENT: Dim Implemented in version 1.0 Dim The Dim statement allows you to explicitly declare one or more new variables and to allocate storage (memory) space. While you do not have to use Dim to create new variables in VBScript, the wise programmer prefers to use Dim. In fact, many programmer purposely include theOption Explicit statement in all of their VBScript…