Let Statement

PriradĂ­ premennej určitĂș hodnotu.

Syntax:

Let Statement diagram


[Let] variable = expression

Paremetre:

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

Note Icon

Rovnako ako vo vĂ€ÄĆĄine variantov BASICu je kÄŸĂșčovĂ© slovo Let nepovinnĂ©.


PrĂ­klad:


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

Please support us!