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
WSH – WScript
VBScript – Statements
OPERATOR: + Implemented in version 1.0 + The + operator has two uses. It is used to add numbers together. It also may be used to concatenate (combine) strings together. Note it is usually recommended that only the & operator be used for string concatenation. Addition: Code: <% total = 5.678 + 0.234 + 23.1…
FUNCTION: CDate( ) Implemented in version 1.0 You can determine the expression subtype by using the function VarType( ). CDate(Date) The CDate function converts any valid date and time expression to the variant of subtype Date. The default date output will be of the format: **/**/** The default time output will be of the format: **:**:** *M…
VBScript – Tests
METHOD: FileSystemObject.BuildPath Implemented in version 2.0 [newfullpath = ]object.BuildPath(path, name) This method is used to append a name onto an existing path. The format of the new path is ‘existingpath\name’. Code: <% dim filesys, newfullpath set filesys=CreateObject(« Scripting.FileSystemObject ») newfullpath = filesys.BuildPath(c:\inetpub\wwwroot, « images ») %> Output: « c:\inetpub\wwwroot\images »