vbscript-less-than or equal
OPERATOR: <=
Implemented in version 1.0
<=
The <= operator determines if the first expression is less-than-or-equal the second expression.
Code:
<% 123 <= 456 %>
<% « a » <= « A » %>
Output:
True
False
OPERATOR: <=
Implemented in version 1.0
<=
The <= operator determines if the first expression is less-than-or-equal the second expression.
Code:
<% 123 <= 456 %>
<% « a » <= « A » %>
Output:
True
False
VBScript – Math
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 – WshShell
FUNCTION: Asc() Implemented in version 1.0 Asc(String) The Asc function returns the ANSI character code value for the first character in a string. In these two examples, note that the ANSI value is returned only for the « a ». Code: <% =Asc(« abcde fghij klmno pqrst uvwxyz ») %> Output: 97 Code: <% =Asc(« a ») %> Output: 97
OPERATOR: < Implemented in version 1.0 < The < operator determines if the first expression is less-than the second expression. Code: <% 123 < 456 %> <% « a » < « A » %> Output: True False
WSH/FSO – Fichiers