DefCur Statement

แƒ—แƒฃ แƒขแƒ˜แƒžแƒ˜แƒก แƒ’แƒแƒ›แƒแƒชแƒฎแƒแƒ“แƒ”แƒ‘แƒ˜แƒก แƒแƒกแƒ-แƒœแƒ˜แƒจแƒแƒœแƒ˜ แƒแƒœ แƒกแƒ˜แƒขแƒงแƒ•แƒ-แƒ’แƒแƒกแƒแƒฆแƒ”แƒ‘แƒ˜ แƒ›แƒ˜แƒ—แƒ˜แƒ—แƒ”แƒ‘แƒฃแƒšแƒ˜ แƒแƒ  แƒแƒ แƒ˜แƒก, DefCur แƒ’แƒแƒœแƒชแƒฎแƒแƒ“แƒ”แƒ‘แƒ แƒกแƒแƒฌแƒงแƒ˜แƒกแƒ˜ แƒชแƒ•แƒšแƒแƒ“แƒ˜แƒก แƒขแƒ˜แƒžแƒก แƒแƒงแƒ”แƒœแƒ”แƒ‘แƒก แƒแƒกแƒแƒ—แƒ แƒ แƒแƒœแƒ’แƒ˜แƒก แƒ›แƒ˜แƒฎแƒ”แƒ“แƒ•แƒ˜แƒ—.

แƒกแƒ˜แƒœแƒขแƒแƒฅแƒกแƒ˜

Defxxx Characterrange1[, Characterrange2[,...]]

Parameters:

Characterrange: Letters that specify the range of variables that you want to set the default data type for.

xxx: Keyword that defines the default variable type:

Keyword: Default variable type

DefCur: แƒ•แƒแƒšแƒฃแƒขแƒ

แƒ›แƒแƒ’แƒแƒšแƒ˜แƒ—แƒ˜:

' Prefix definition for variable types:

DefBool b

DefDate t

DefDbl d

DefInt i

DefLng l

DefObj o

DefVar v

DefCur c

Sub ExampleDefCur

    cCur=Currency ' cCur is an implicit currency variable.

End Sub