char: Letter prefix that specifies default data type for variables.
char-char: Letter range prefixes that specify default data type for variables.
示例:
' Prefix definitions for variable types:
DefBool b
DefCur c,l-m
DefDate t
DefDbl f
DefErr e
DefInt i-k,N
DefLng x-z, D
DefObj U, o-R
DefSng w,a
DefStr s
DefVar V,g
Sub ExampleDefDate
tDate=Date ' tDate 是一个隐式的日期变量
Print VarType(tea), train, TypeName(timedate), IsDate(tick) ' Displays: 7 00:00:00 Date True
End Sub