Let Statement

๊ฐ’์„ ๋ณ€์ˆ˜์— ํ• ๋‹นํ•ฉ๋‹ˆ๋‹ค.

๊ตฌ๋ฌธ:

Let Statement diagram


[Let] variable = expression

๋งค๊ฐœ ๋ณ€์ˆ˜:

variable: Variable that you want to assign a value to. Value and variable type must be compatible.

์ฐธ๊ณ  ์•„์ด์ฝ˜

๋Œ€๋ถ€๋ถ„์˜ BASIC ์–ธ์–ด์—์„œ์™€ ๋งˆ์ฐฌ๊ฐ€์ง€๋กœ ํ‚ค์›Œ๋“œ Let์€ ์„ ํƒ ์‚ฌํ•ญ์ž…๋‹ˆ๋‹ค.


์˜ˆ:


Sub ExampleLet
Dim sText As String
    Let sText = "Las Vegas"
    MsgBox Len(sText) REM Returns 9
End Sub

Please support us!