[UserMenu]
1=Abs(number)|Abs()+m
2=Array(arglist)|Array()+m
3=Asc(string)|Asc()+m
4=Atn(number)|Atn()+m
5=CBool(expression)|CBool()+m
6=CByte(expression)|CByte()+m
7=CCur(expression)|CCur()+m
8=CDate(date)|CDate()+m
9=CDbl(expression)|CDbl()+m
10=Chr(charcode)|Chr()+m
11=CInt(expression)|CInt()+m
12=CLng(expression)|CLng()+m
13=Cos(number)|Cos()+m
14=CreateObject(servername.typename[, location])|CreateObject()+m
15=CSng(expression)|CSng()+m
16=CStr(expression)|CStr()+m
17=DateAdd(interval, number, date)|DateAdd()+m
18=DateDiff(interval, date1, date2 [,firstdayofweek[, firstweekofyear]])|DateDiff()+m
19=DatePart(interval, date[, firstdayofweek[, firstweekofyear]])|DatePart()+m
20=DateSerial(year, month, day)|DateSerial()+m
21=DateValue(date)|DateValue()+m
22=Day(date)|Day()+m
23=Debug.Write([str1 [, str2 [, ... [, strN]]]])|Debug.Write()+m
24=Debug.WriteLine([str1 [, str2 [, ... [, strN]]]])|Debug.WriteLine()+m
25=Err.Raise(number, source, description, helpfile, helpcontext)|Err.Raise()+m
26=Escape(charString)|Escape()+m
27=Eval(expression)|Eval()+m
28=Exp(number)|Exp()+m
29=Filter(InputStrings, Value[, Include[, Compare]])|Filter()+m
30=Fix(number)|Fix()+m
31=FormatCurrency(Expression[,DigitsAfterDecimal [,LeadingDigit [,ParensForNegativeNumbers [,GroupDigits]]]])|FormatCurrency()+m
32=FormatDateTime(Date[, NamedFormat])|FormatDateTime()+m
33=FormatNumber(Expression[,DigitsAfterDecimal [,LeadingDigit [,ParensForNegativeNumbers [,GroupDigits]]]])|FormatNumber()+m
34=FormatPercent(Expression[,DigitsAfterDecimal [,LeadingDigit [,ParensForNegativeNumbers [,GroupDigits]]]])|FormatPercent()+m
35=GetObject([pathname] [, class])|GetObject()+m
36=GetRef(procname)|GetRef()+m
37=Hex(number)|Hex()+m
38=Hour(time)|Hour()+m
39=InputBox(prompt[, title][, default][, xpos][, ypos][, helpfile, context])|InputBox()+m
40=InStr([start, ]string1, string2[, compare])|InStr()+m
41=InStrRev(string1, string2[, start[, compare]])|InStrRev()+m
42=Int(number)|Int()+m
43=IsArray(varname)|IsArray()+m
44=IsDate(expression)|IsDate()+m
45=IsEmpty(expression)|IsEmpty()+m
46=IsNull(expression)|IsNull()+m
47=IsNumeric(expression)|IsNumeric()+m
48=IsObject(expression)|IsObject()+m
49=Join(list[, delimiter])|Join()+m
50=LBound(arrayname[, dimension])|LBound()+m
51=LCase(string)|LCase()+m
52=Left(string, length)|Left()+m
53=Len(string|varname) | "Len()+m
54=LoadPicture(picturename)|LoadPicture()+m
55=Log(number)|Log()+m
56=LTrim(string)|LTrim()+m
57=Mid(string, start[, length])|Mid()+m
58=Minute(time)|Minute()+m
59=Month(date)|Month()+m
60=MonthName(month[, abbreviate])|MonthName()+m
61=MsgBox(prompt[, buttons][, title][, helpfile, context])|MsgBox()+m
62=Oct(number)|Oct()+m
63=regExp.Execute(string)|regExp.Execute()+m
64=regExp.Replace(string1, string2)|regExp.Replace()+m
65=regExp.Test(string)|regExp.Test()+m
66=Replace(expression, find, replacewith[, start[, count[, compare]]])|Replace()+m
67=RGB(red, green, blue)|RGB()+m
68=Right(string, length)|Right()+m
69=Round(expression[, numdecimalplaces])|Round()+m
70=RTrim(string)|RTrim()+m
71=Second(time)|Second()+m
72=SetLocal(lcid)|SetLocal()+m
73=Sgn(number)|Sgn()+m
74=Sin(number)|Sin()+m
75=Space(number)|Space()+m
76=Split(expression[, delimiter[, count[, compare]]])|Split()+m
77=Sqr(number)|Sqr()+m
78=StrComp(string1, string2[, compare])|StrComp()+m
79=String(number, character)|String()+m
80=StrReverse(string1)|StrReverse()+m
81=Tan(number)|Tan()+m
82=TimeSerial(hour, minute, second)|TimeSerial()+m
83=TimeValue(time)|TimeValue()+m
84=Trim(string)|Trim()+m
85=TypeName(varname)|TypeName()+m
86=UBound(arrayname[, dimension])|UBound()+m
87=UCase(string)|UCase()+m
88=Unescape(charString)|Unescape()+m
89=VarType(varname)|VarType()+m
90=Weekday(date, [firstdayofweek])|Weekday()+m
91=WeekdayName(weekday, abbreviate, firstdayofweek)|WeekdayName()+m
92=Year(date)|Year()+m

[AutoComplete]
Debug.=Write([str1 [, str2 [, ... [, strN]]]])|Write+m##WriteLine([str1 [, str2 [, ... [, strN]]]])|WriteLine+m##
Err.=Clear|Clear+m##Description|Description+p##HelpContext|HelpContext+p##HelpFile|HelpFile+p##Number|Number+p##Raise(number, source, description, helpfile, helpcontext)|Raise+m##Source|Source+p##
Match.=FirstIndex|FirstIndex+p##Length|Length+p##Value|Value+p##
regEx.=Execute(string)|Execute+m##Global|Global+p##IgnoreCase|IgnoreCase+p##Pattern|Pattern+p##Replace(string1, string2)|Replace+m##Test(string)|Test+m##

[MultiHighlight]
Syntax=
File=

[Comment]
1=*************************************************************
2=<b>Syntax:</b> VBScript 5.6
3=<b>Author:</b> Rickard Johansson
4=<b>Date:</b> 2009-08-25
5=
6=<b>Recommended colors:</b>
7=This syntax definition is included with the main program
8=installation. So the recommended colors are already set
9=after the program is installed.
10=*************************************************************

[Hints]
1=Abs(number)
2=Array(arglist)
3=Asc(string)
4=Atn(number)
5=CBool(expression)
6=CByte(expression)
7=CCur(expression)
8=CDate(date)
9=CDbl(expression)
10=Chr(charcode)
11=CInt(expression)
12=CLng(expression)
13=Cos(number)
14=CreateObject(servername.typename[, location])
15=CSng(expression)
16=CStr(expression)
17=DateAdd(interval, number, date)
18=DateDiff(interval, date1, date2 [,firstdayofweek[, firstweekofyear]])
19=DatePart(interval, date[, firstdayofweek[, firstweekofyear]])
20=DateSerial(year, month, day)
21=DateValue(date)
22=Day(date)
23=Debug.Write([str1 [, str2 [, ... [, strN]]]])
24=Debug.WriteLine([str1 [, str2 [, ... [, strN]]]])
25=Err.Raise(number, source, description, helpfile, helpcontext)
26=Escape(charString)
27=Eval(expression)
28=Exp(number)
29=Filter(InputStrings, Value[, Include[, Compare]])
30=Fix(number)
31=FormatCurrency(Expression[,DigitsAfterDecimal [,LeadingDigit [,ParensForNegativeNumbers [,GroupDigits]]]])
32=FormatDateTime(Date[, NamedFormat])
33=FormatNumber(Expression[,DigitsAfterDecimal [,LeadingDigit [,ParensForNegativeNumbers [,GroupDigits]]]])
34=FormatPercent(Expression[,DigitsAfterDecimal [,LeadingDigit [,ParensForNegativeNumbers [,GroupDigits]]]])
35=GetObject([pathname] [, class])
36=GetRef(procname)
37=Hex(number)
38=Hour(time)
39=InputBox(prompt[, title][, default][, xpos][, ypos][, helpfile, context])
40=InStr([start, ]string1, string2[, compare])
41=InStrRev(string1, string2[, start[, compare]])
42=Int(number)
43=IsArray(varname)
44=IsDate(expression)
45=IsEmpty(expression)
46=IsNull(expression)
47=IsNumeric(expression)
48=IsObject(expression)
49=Join(list[, delimiter])
50=LBound(arrayname[, dimension])
51=LCase(string)
52=Left(string, length)
53=Len(string | varname)
54=LoadPicture(picturename)
55=Log(number)
56=LTrim(string)
57=Mid(string, start[, length])
58=Minute(time)
59=Month(date)
60=MonthName(month[, abbreviate])
61=MsgBox(prompt[, buttons][, title][, helpfile, context])
62=Oct(number)
63=regExp.Execute(string)
64=regExp.Replace(string1, string2)
65=regExp.Test(string)
66=Replace(expression, find, replacewith[, start[, count[, compare]]])
67=RGB(red, green, blue)
68=Right(string, length)
69=Round(expression[, numdecimalplaces])
70=RTrim(string)
71=Second(time)
72=SetLocal(lcid)
73=Sgn(number)
74=Sin(number)
75=Space(number)
76=Split(expression[, delimiter[, count[, compare]]])
77=Sqr(number)
78=StrComp(string1, string2[, compare])
79=String(number, character)
80=StrReverse(string1)
81=Tan(number)
82=TimeSerial(hour, minute, second)
83=TimeValue(time)
84=Trim(string)
85=TypeName(varname)
86=UBound(arrayname[, dimension])
87=UCase(string)
88=Unescape(charString)
89=VarType(varname)
90=Weekday(date, [firstdayofweek])
91=WeekdayName(weekday, abbreviate, firstdayofweek)
92=Year(date)

[Sample]
1=' creating a date (2 times)
2=Dim datMyDate
3=datMyDate = #5/16/99 12:30 PM#
4=datMyDate = CDate("5/16/99 12:30 PM")
5=
6=' Null
7=Dim x
8=x = Null
9=If isNull(x) Then ' do *not* use "If x = Null Then" !!!!
10=MsgBox "x = Null"
11=End If
12=
13=
14=

