Let-instructie
Kent een waarde toe aan een variabele.
Syntaxis:
[Let] variable = expression
Parameters:
variable: Variable that you want to assign a value to. Value and variable type must be compatible.
Zoals in de meeste BASIC-dialecten is het sleutelwoord Let optioneel.
Voorbeeld:
Sub ExampleLet
Dim sText As String
Let sText = "Las Vegas"
MsgBox Len(sTekst) ' geeft 9 terug
End Sub