DefInt Statement

μœ ν˜• μ„ μ–Έ 문자 λ˜λŠ” ν‚€μ›Œλ“œκ°€ μ§€μ •λ˜μ§€ μ•Šμ€ 경우 문자 λ²”μœ„μ— 따라 κΈ°λ³Έ λ³€μˆ˜ μœ ν˜•μ„ μ„€μ •ν•©λ‹ˆλ‹€.

ꡬ문:

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

맀개 λ³€μˆ˜:

Characterrange: κΈ°λ³Έ 데이터 ν˜•μ‹μ„ μ„€μ •ν•  λ³€μˆ˜μ˜ λ²”μœ„λ₯Ό μ§€μ •ν•˜λŠ” λ¬Έμžμž…λ‹ˆλ‹€.

xxx: κΈ°λ³Έ λ³€μˆ˜ μœ ν˜•μ„ μ§€μ •ν•˜λŠ” ν‚€μ›Œλ“œμž…λ‹ˆλ‹€.

Keyword: κΈ°λ³Έ λ³€μˆ˜ μœ ν˜•

DefInt: Integer

예:

REM Prefix definition for variable types:

DefBool b

DefDate t

DefDbl d

DefInt i

DefLng l

DefObj o

DefVar v

Sub ExampleDefInt

    iCount=200 REM iCount is an implicit integer variable

End Sub