Let Statement

Shëndron një ndryshore të rastësishme në një vlerë të normalizuar.

Sintaksa:


[Let] VarName=Expression

Parametrat animues

VarName: 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.


Shembull


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