Pomoc LibreOffice 7.5
Przypisuje wartość do zmiennej.
[Let] variable = expression
variable: Variable that you want to assign a value to. Value and variable type must be compatible.
Podobnie jak w większości dialektów języka BASIC słowo kluczowe Let jest opcjonalne.
Sub ExampleLet
Dim sText As String
Let sText = "Las Vegas"
MsgBox Len(sText) ' zwraca 9
End Sub