vbscript-comment
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: ‘
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 %>
OPERATOR: \ Implemented in version 1.0 \ The \ operator divides two numbers and returns an integer (fixed-point). Each number can be either floating-point or fixed-point. This operator works by rounding the values of the supplied operands to integers (if necessary) before performing the calculation and only returns an integer with no decimal representation (truncated)….
Property: TextStream.AtEndOfStream Implemented in version 2.0 object.AtEndOfStream The AtEndOfStream property returns a Boolean value. If the file pointer is positioned at the end of the file, the value is True. Otherwise, the value is False. The TextStreamobject must be open for reading or an error will occur when using this method. The following code uses…
VBScript – Date/Heure
OPERATOR: & Implemented in version 1.0 & The & operator is the preferred operator for concatenating strings. However, the + operator may also be used for concatenation. Code: <% cheese= » is made of blue cheese. » %> <% sentence= »The moon » & cheese & » Mice like blue cheese. » %> Output: The moon is made of blue…
WSH/FSO – Fichiers
VBScript – Chaînes