VBScript Emulation

${PNUTS}/examples/ole/scripts directory includes scripts which emulate VBScript functions listed below.

Abs Array Asc AscB AscW
Atn CBool CByte CInt Chr
ChrB ChrW Cos CreateObject Date
DateAdd DateDiff DatePart DateSerial DateValue
Day Exp Filter Fix FormatCurrency
FormatDateTime FormatNumber FormatPercent Hex Hour
InStr InStrB InStrRev Int IsArray
IsNumeric IsObject Join LBound LCase
LTrim Left LeftB Len LenB
Log Mid MidB Minute Month
MonthName Now Oct RTrim Randomize
Replace Right RightB Rnd Round
Second Sgn Sin Space Split
Sqr StrComp StrReverse String Tan
Time TimeSerial TimeValue Trim TypeName
UBound UCase Weekday WeekdayName Year

Back