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.

Note Icon

As in most BASIC dialects, the keyword Let is optional.


Пример


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

Please support us!