vbscript-divide
OPERATOR: /
Implemented in version 1.0
/
The / operator divides two numbers and returns a floating-point number.
Code:
<% result = 25.0 / 4.975 %>
Output:
5.0251256281407
Code:
<% result = 25 / 5 %>
Output:
5
OPERATOR: /
Implemented in version 1.0
/
The / operator divides two numbers and returns a floating-point number.
Code:
<% result = 25.0 / 4.975 %>
Output:
5.0251256281407
Code:
<% result = 25 / 5 %>
Output:
5
OPERATOR: <> Implemented in version 1.0 <> The <> operator is called the not equal or inequality operator. Code: <% If 128 <> 777 Then Response.Write(« Not equal ») End If %> Output: Not equal
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…
FUNCTION: Array( ) Implemented in version 2.0 Array(List) The Array function is used to create a static one-dimension array. You cannot declare a dynamic array using the Array function. Note that the first element in an array is always labeled zero, for example, myarray(0). The List argument is a listing of values that will become the…
VBScript – Chaînes
WSH/FSO – Fichiers
VBScript – Tests