Functions, without guesswork.
These signatures come from the same catalog used by McBasic™ signature help. They are not inferred from a different BASIC dialect.
104 supported signatures. Practice with the tested language workbench.
Abs#
Return a magnitude.
Function Abs(ByVal Number As Variant) As Variant| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Variant | ByVal | No |
Returns Variant.
Array#
Create a Variant array from supplied values.
Function Array(ParamArray Value As Variant) As Variant| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Value | Variant | ParamArray | No |
Returns Variant.
Asc#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function Asc(ByVal String As String) As Integer| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
Returns Integer.
AscW#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function AscW(ByVal String As String) As Integer| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
Returns Integer.
Atn#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function Atn(ByVal Number As Double) As Double| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Double | ByVal | No |
Returns Double.
CBool#
Convert explicitly to the named target type; invalid values and overflow remain errors.
Function CBool(ByVal Expression As Variant) As Boolean| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns Boolean.
CByte#
Convert explicitly to the named target type; invalid values and overflow remain errors.
Function CByte(ByVal Expression As Variant) As Byte| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns Byte.
CCur#
Convert explicitly to the named target type; invalid values and overflow remain errors.
Function CCur(ByVal Expression As Variant) As Currency| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns Currency.
CDate#
Convert explicitly to the named target type; invalid values and overflow remain errors.
Function CDate(ByVal Expression As Variant) As Date| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns Date.
CDbl#
Convert explicitly to the named target type; invalid values and overflow remain errors.
Function CDbl(ByVal Expression As Variant) As Double| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns Double.
CDec#
Convert explicitly to the named target type; invalid values and overflow remain errors.
Function CDec(ByVal Expression As Variant) As Decimal| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns Decimal.
Choose#
Select an alternative by index.
Function Choose(ByVal Index As Long, ParamArray Choice As Variant) As Variant| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Index | Long | ByVal | No |
| Choice | Variant | ParamArray | No |
Returns Variant.
Chr#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function Chr(ByVal Code As Integer) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Code | Integer | ByVal | No |
Returns String.
ChrW#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function ChrW(ByVal Code As Integer) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Code | Integer | ByVal | No |
Returns String.
CInt#
Convert explicitly to the named target type; invalid values and overflow remain errors.
Function CInt(ByVal Expression As Variant) As Integer| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns Integer.
CLng#
Convert explicitly to the named target type; invalid values and overflow remain errors.
Function CLng(ByVal Expression As Variant) As Long| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns Long.
CLngLng#
Convert explicitly to the named target type; invalid values and overflow remain errors.
Function CLngLng(ByVal Expression As Variant) As LongLong| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns LongLong.
Cos#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function Cos(ByVal Number As Double) As Double| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Double | ByVal | No |
Returns Double.
CSng#
Convert explicitly to the named target type; invalid values and overflow remain errors.
Function CSng(ByVal Expression As Variant) As Single| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns Single.
CStr#
Convert explicitly to the named target type; invalid values and overflow remain errors.
Function CStr(ByVal Expression As Variant) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns String.
CVErr#
Create a Variant error value.
Function CVErr(ByVal ErrorCode As Integer) As Variant| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| ErrorCode | Integer | ByVal | No |
Returns Variant.
Date#
Work with a date or time value using the declared arguments; presentation text is a separate concern.
Function Date() As Date| Parameter | Type | Mode | Optional / default |
|---|
Returns Date.
DateAdd#
Work with a date or time value using the declared arguments; presentation text is a separate concern.
Function DateAdd(ByVal Interval As String, ByVal Number As Double, ByVal Date As Date) As Date| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Interval | String | ByVal | No |
| Number | Double | ByVal | No |
| Date | Date | ByVal | No |
Returns Date.
DateDiff#
Work with a date or time value using the declared arguments; presentation text is a separate concern.
Function DateDiff(ByVal Interval As String, ByVal Date1 As Date, ByVal Date2 As Date) As Long| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Interval | String | ByVal | No |
| Date1 | Date | ByVal | No |
| Date2 | Date | ByVal | No |
Returns Long.
DatePart#
Work with a date or time value using the declared arguments; presentation text is a separate concern.
Function DatePart(ByVal Interval As String, ByVal Date As Date) As Long| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Interval | String | ByVal | No |
| Date | Date | ByVal | No |
Returns Long.
DateSerial#
Work with a date or time value using the declared arguments; presentation text is a separate concern.
Function DateSerial(ByVal Year As Long, ByVal Month As Long, ByVal Day As Long) As Date| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Year | Long | ByVal | No |
| Month | Long | ByVal | No |
| Day | Long | ByVal | No |
Returns Date.
Day#
Work with a date or time value using the declared arguments; presentation text is a separate concern.
Function Day(ByVal Date As Date) As Integer| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Date | Date | ByVal | No |
Returns Integer.
Exp#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function Exp(ByVal Number As Double) As Double| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Double | ByVal | No |
Returns Double.
Filter#
Select matching elements from an array.
Function Filter(ByVal SourceArray As Variant, ByVal Match As String, Optional ByVal Include As Boolean = True, Optional ByVal Compare As Long = 0) As Variant| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| SourceArray | Variant | ByVal | No |
| Match | String | ByVal | No |
| Include | Boolean | ByVal | Yes · True |
| Compare | Long | ByVal | Yes · 0 |
Returns Variant.
Fix#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function Fix(ByVal Number As Double) As Double| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Double | ByVal | No |
Returns Double.
Format#
Format a value with the implemented numeric or date mask.
Function Format(ByVal Expression As Variant, ByVal Format As String) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
| Format | String | ByVal | No |
Returns String.
Hex#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function Hex(ByVal Number As Long) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Long | ByVal | No |
Returns String.
Hour#
Work with a date or time value using the declared arguments; presentation text is a separate concern.
Function Hour(ByVal Date As Date) As Integer| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Date | Date | ByVal | No |
Returns Integer.
IIf#
Select between values; do not use it to hide unsafe work in an argument.
Function IIf(ByVal Expression As Boolean, ByVal TruePart As Variant, ByVal FalsePart As Variant) As Variant| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Boolean | ByVal | No |
| TruePart | Variant | ByVal | No |
| FalsePart | Variant | ByVal | No |
Returns Variant.
InputBox#
Request short text; decide explicitly how to handle an empty result.
Function InputBox(ByVal Prompt As String, Optional ByVal Title As String = App.Name, Optional ByVal Default As String = "") As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Prompt | String | ByVal | No |
| Title | String | ByVal | Yes · App.Name |
| Default | String | ByVal | Yes · "" |
Returns String.
InStr#
Find a substring and handle the not-found result.
Function InStr(ByVal String As String, ByVal Search As String) As Long| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
| Search | String | ByVal | No |
Returns Long.
InStr#
Find a substring and handle the not-found result.
Function InStr(ByVal Start As Long, ByVal String As String, ByVal Search As String) As Long| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Start | Long | ByVal | No |
| String | String | ByVal | No |
| Search | String | ByVal | No |
Returns Long.
InStrRev#
Search from the end of the text.
Function InStrRev(ByVal String As String, ByVal Search As String, Optional ByVal Start As Long = -1) As Long| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
| Search | String | ByVal | No |
| Start | Long | ByVal | Yes · -1 |
Returns Long.
Int#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function Int(ByVal Number As Double) As Double| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Double | ByVal | No |
Returns Double.
IsArray#
Test the value category before choosing the next operation.
Function IsArray(ByVal Expression As Variant) As Boolean| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns Boolean.
IsDate#
Test the value category before choosing the next operation.
Function IsDate(ByVal Expression As Variant) As Boolean| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns Boolean.
IsEmpty#
Test the value category before choosing the next operation.
Function IsEmpty(ByVal Expression As Variant) As Boolean| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns Boolean.
IsError#
Test the value category before choosing the next operation.
Function IsError(ByVal Expression As Variant) As Boolean| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns Boolean.
IsMissing#
Test the value category before choosing the next operation.
Function IsMissing(ByVal Expression As Variant) As Boolean| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns Boolean.
IsNull#
Test the value category before choosing the next operation.
Function IsNull(ByVal Expression As Variant) As Boolean| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns Boolean.
IsNumeric#
Test the value category before choosing the next operation.
Function IsNumeric(ByVal Expression As Variant) As Boolean| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns Boolean.
IsObject#
Test the value category before choosing the next operation.
Function IsObject(ByVal Expression As Variant) As Boolean| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns Boolean.
Join#
Join array elements with a delimiter.
Function Join(ByVal SourceArray As Variant, Optional ByVal Delimiter As String = " ") As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| SourceArray | Variant | ByVal | No |
| Delimiter | String | ByVal | Yes · " " |
Returns String.
LBound#
Read an array’s lower bound rather than assuming zero.
Function LBound(ByVal Array As Variant, Optional ByVal Dimension As Long = 1) As Long| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Array | Variant | ByVal | No |
| Dimension | Long | ByVal | Yes · 1 |
Returns Long.
LCase#
Convert text to lower case.
Function LCase(ByVal String As String) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
Returns String.
LCase$#
Convert text to lower case.
Function LCase$(ByVal String As String) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
Returns String.
Left#
Take text from the beginning.
Function Left(ByVal String As String, ByVal Length As Long) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
| Length | Long | ByVal | No |
Returns String.
Left$#
Take text from the beginning.
Function Left$(ByVal String As String, ByVal Length As Long) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
| Length | Long | ByVal | No |
Returns String.
Len#
Count characters before deciding whether text is empty.
Function Len(ByVal Expression As String) As Long| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | String | ByVal | No |
Returns Long.
Log#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function Log(ByVal Number As Double) As Double| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Double | ByVal | No |
Returns Double.
LTrim#
Remove leading spaces.
Function LTrim(ByVal String As String) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
Returns String.
LTrim$#
Remove leading spaces.
Function LTrim$(ByVal String As String) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
Returns String.
Mid#
Take a portion of text using its supported position and length.
Function Mid(ByVal String As String, ByVal Start As Long, Optional ByVal Length As Long) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
| Start | Long | ByVal | No |
| Length | Long | ByVal | Yes |
Returns String.
Mid$#
Take a portion of text using its supported position and length.
Function Mid$(ByVal String As String, ByVal Start As Long, Optional ByVal Length As Long) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
| Start | Long | ByVal | No |
| Length | Long | ByVal | Yes |
Returns String.
Minute#
Work with a date or time value using the declared arguments; presentation text is a separate concern.
Function Minute(ByVal Date As Date) As Integer| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Date | Date | ByVal | No |
Returns Integer.
Month#
Work with a date or time value using the declared arguments; presentation text is a separate concern.
Function Month(ByVal Date As Date) As Integer| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Date | Date | ByVal | No |
Returns Integer.
MonthName#
Work with a date or time value using the declared arguments; presentation text is a separate concern.
Function MonthName(ByVal Month As Long, Optional ByVal Abbreviate As Boolean = False) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Month | Long | ByVal | No |
| Abbreviate | Boolean | ByVal | Yes · False |
Returns String.
MsgBox#
Ask for a simple response using the supported button flags.
Function MsgBox(ByVal Prompt As String, Optional ByVal Buttons As Long = vbOKOnly, Optional ByVal Title As String = App.Name) As Integer| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Prompt | String | ByVal | No |
| Buttons | Long | ByVal | Yes · vbOKOnly |
| Title | String | ByVal | Yes · App.Name |
Returns Integer.
Now#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function Now() As Date| Parameter | Type | Mode | Optional / default |
|---|
Returns Date.
Oct#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function Oct(ByVal Number As Long) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Long | ByVal | No |
Returns String.
QBColor#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function QBColor(ByVal Color As Integer) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Color | Integer | ByVal | No |
Returns String.
Randomize#
Control the pseudo-random sequence.
Sub Randomize(Optional ByVal Seed As Long)| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Seed | Long | ByVal | Yes |
Returns Void.
Replace#
Replace matching text.
Function Replace(ByVal Expression As String, ByVal Find As String, ByVal Replace As String) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | String | ByVal | No |
| Find | String | ByVal | No |
| Replace | String | ByVal | No |
Returns String.
RGB#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function RGB(ByVal Red As Integer, ByVal Green As Integer, ByVal Blue As Integer) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Red | Integer | ByVal | No |
| Green | Integer | ByVal | No |
| Blue | Integer | ByVal | No |
Returns String.
Right#
Take text from the end.
Function Right(ByVal String As String, ByVal Length As Long) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
| Length | Long | ByVal | No |
Returns String.
Right$#
Take text from the end.
Function Right$(ByVal String As String, ByVal Length As Long) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
| Length | Long | ByVal | No |
Returns String.
Rnd#
Generate a pseudo-random value; not a cryptographic secret.
Function Rnd(Optional ByVal Number As Double = 1) As Double| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Double | ByVal | Yes · 1 |
Returns Double.
Round#
Round a numeric value to the requested precision.
Function Round(ByVal Number As Double, Optional ByVal NumDigits As Long = 0) As Double| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Double | ByVal | No |
| NumDigits | Long | ByVal | Yes · 0 |
Returns Double.
RTrim#
Remove trailing spaces.
Function RTrim(ByVal String As String) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
Returns String.
RTrim$#
Remove trailing spaces.
Function RTrim$(ByVal String As String) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
Returns String.
Second#
Work with a date or time value using the declared arguments; presentation text is a separate concern.
Function Second(ByVal Date As Date) As Integer| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Date | Date | ByVal | No |
Returns Integer.
Sgn#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function Sgn(ByVal Number As Double) As Integer| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Double | ByVal | No |
Returns Integer.
Sin#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function Sin(ByVal Number As Double) As Double| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Double | ByVal | No |
Returns Double.
Space#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function Space(ByVal Number As Long) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Long | ByVal | No |
Returns String.
Space$#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function Space$(ByVal Number As Long) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Long | ByVal | No |
Returns String.
Split#
Split text into an array.
Function Split(ByVal Expression As String, Optional ByVal Delimiter As String = " ") As Variant| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | String | ByVal | No |
| Delimiter | String | ByVal | Yes · " " |
Returns Variant.
Sqr#
Calculate a square root.
Function Sqr(ByVal Number As Double) As Double| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Double | ByVal | No |
Returns Double.
Str#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function Str(ByVal Number As Double) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Double | ByVal | No |
Returns String.
Str$#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function Str$(ByVal Number As Double) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Double | ByVal | No |
Returns String.
StrComp#
Compare text using the supported comparison mode.
Function StrComp(ByVal String1 As String, ByVal String2 As String, Optional ByVal Compare As Long = 0) As Long| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String1 | String | ByVal | No |
| String2 | String | ByVal | No |
| Compare | Long | ByVal | Yes · 0 |
Returns Long.
String#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function String(ByVal Number As Long, ByVal Character As String) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Long | ByVal | No |
| Character | String | ByVal | No |
Returns String.
String$#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function String$(ByVal Number As Long, ByVal Character As String) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Long | ByVal | No |
| Character | String | ByVal | No |
Returns String.
StrReverse#
Reverse text.
Function StrReverse(ByVal String As String) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
Returns String.
Switch#
Select from condition/value pairs.
Function Switch(ParamArray Pair As Variant) As Variant| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Pair | Variant | ParamArray | No |
Returns Variant.
Tan#
Use the exact compiler-owned signature below; check boundary inputs and conversions.
Function Tan(ByVal Number As Double) As Double| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Number | Double | ByVal | No |
Returns Double.
Time#
Work with a date or time value using the declared arguments; presentation text is a separate concern.
Function Time() As Date| Parameter | Type | Mode | Optional / default |
|---|
Returns Date.
Timer#
Work with a date or time value using the declared arguments; presentation text is a separate concern.
Function Timer() As Single| Parameter | Type | Mode | Optional / default |
|---|
Returns Single.
TimeSerial#
Work with a date or time value using the declared arguments; presentation text is a separate concern.
Function TimeSerial(ByVal Hour As Long, ByVal Minute As Long, ByVal Second As Long) As Date| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Hour | Long | ByVal | No |
| Minute | Long | ByVal | No |
| Second | Long | ByVal | No |
Returns Date.
Trim#
Remove leading and trailing spaces.
Function Trim(ByVal String As String) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
Returns String.
Trim$#
Remove leading and trailing spaces.
Function Trim$(ByVal String As String) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
Returns String.
TypeName#
Inspect the runtime type name.
Function TypeName(ByVal Expression As Variant) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns String.
UBound#
Read an array’s upper bound.
Function UBound(ByVal Array As Variant, Optional ByVal Dimension As Long = 1) As Long| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Array | Variant | ByVal | No |
| Dimension | Long | ByVal | Yes · 1 |
Returns Long.
UCase#
Convert text to upper case.
Function UCase(ByVal String As String) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
Returns String.
UCase$#
Convert text to upper case.
Function UCase$(ByVal String As String) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
Returns String.
Val#
Convert numeric text under the supported parsing rules.
Function Val(ByVal String As String) As Double| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| String | String | ByVal | No |
Returns Double.
VarType#
Inspect a Variant type tag.
Function VarType(ByVal Expression As Variant) As Integer| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Expression | Variant | ByVal | No |
Returns Integer.
Weekday#
Work with a date or time value using the declared arguments; presentation text is a separate concern.
Function Weekday(ByVal Date As Date, Optional ByVal FirstDayOfWeek As Long = 1) As Integer| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Date | Date | ByVal | No |
| FirstDayOfWeek | Long | ByVal | Yes · 1 |
Returns Integer.
WeekdayName#
Work with a date or time value using the declared arguments; presentation text is a separate concern.
Function WeekdayName(ByVal Weekday As Long, Optional ByVal Abbreviate As Boolean = False, Optional ByVal FirstDayOfWeek As Long = 1) As String| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Weekday | Long | ByVal | No |
| Abbreviate | Boolean | ByVal | Yes · False |
| FirstDayOfWeek | Long | ByVal | Yes · 1 |
Returns String.
Year#
Work with a date or time value using the declared arguments; presentation text is a separate concern.
Function Year(ByVal Date As Date) As Integer| Parameter | Type | Mode | Optional / default |
|---|---|---|---|
| Date | Date | ByVal | No |
Returns Integer.
20f4bfed6b · Build manifest