Developer Documentation Library > Scripting > mrScriptBasic overview > Visual Basic function equivalents
 
Visual Basic function equivalents
The following table lists a number of common Visual Basic functions and shows you which function to use in mrScriptBasic.
This list does not include functions that are available in mrScriptBasic but for which there is no equivalent in Visual Basic (such as most of the Categorical functions). For a list of the functions that are available in mrScriptBasic, see Expressions and functions.
Visual Basic function
In mrScriptBasic use
Abs
AscW
Atn
CBool
CDate
CDbl
ChrW
CLng
Cos
CreateObject
CStr
Date
DateAdd
DatePart
Day
Eval
Exp
Hex
Hour
IIf
InStr
Int
LBound
LCase
Left
Len
Log
LTrim
Mid
Minute
Month
MonthName
Now
Oct
Randomize
ReDim
RGB
Right
Rnd
RTrim
Second
Sgn
Shell
Sin
Split
Sqr
Tan
Time
Trim
TypeName
UBound
UCase
VarType
WeekdayName
Year
See also
UNICOM Intelligence Function Library
Bitwise operations
How does mrScriptBasic compare to Visual Basic?
How does mrScriptBasic compare to VBScript?
mrScriptBasic FAQs and troubleshooting
mrScriptBasic overview