Let Statement

Atribuas valoron al variablo.

Sintakso:

Let Statement diagram


[Let] variable = expression

Parametroj:

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

Nota bildsimbolo

Kiel en plejmultaj dialektoj de BASIC, la ŝlosilvorto Let ne estas deviga.


Ekzemplo:


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

Bonvolu subteni nin!