vbscript-less-than
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
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
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…
OPERATOR: And Implemented in version 1.0 And The And operator is used to perform a logical conjunction on two expressions, where the expressions are Null, or are of Boolean subtype and have a value of True orFalse. The And operator can also be used a « bitwise operator » to make a bit-by-bit comparison of two integers….
VBScript – Math
VBScript – Statements
STATEMENT: Call Implemented in version 1.0 Call The Call statement can be used for calling a function or subroutine. Note that the use of Call is optional. In other words, you can call a function or subroutine by simply stating the function’s or subroutine’s name. If you use Call and if there are one or…
FUNCTION: CByte( ) Implemented in version 1.0 You can determine the expression subtype by using the function VarType( ). CByte(Number) The CByte function converts any number between 0 and 255 to the variant of subtypeByte. Code: <% anynumber=(9.876) %> <% =CByte(anynumber) %> Output: 10 Code: <% anynumber=(255) %> <% =CByte(anynumber) %> Output: 255