vbscript-greater-than
OPERATOR: >
Implemented in version 1.0
>
The > operator determines if the first expression is greater-than the second expression.
Code:
<% 123 > 456 %>
<% « a » > « A » %>
Output:
False
True
OPERATOR: >
Implemented in version 1.0
>
The > operator determines if the first expression is greater-than the second expression.
Code:
<% 123 > 456 %>
<% « a » > « A » %>
Output:
False
True
FUNCTION: CCur( ) Implemented in version 1.0 You can determine the expression subtype by using the function VarType( ). CCur(Number) The CCur function converts any number or numeric string to the variant of subtypeCurrency. Converts to currency values ranging from -922,337,203,685,477.5808 to 922,337,203,685,477.5807 Code: <% anynumber=(12345) %> <% =CCur(any_number) %> Output: 12345 Code: <% any_numeric_string=(« 98765 ») %> <% =CCur(any_numeric_string)…
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…
WSH – WScript
VBScript – Date/Heure
WSH/FSO – Expressions régulières
VBScript – Chaînes