Let Statement
PriradĂ premennej urÄitĂș hodnotu.
Syntax:
[Let] variable = expression
Paremetre:
variable: Variable that you want to assign a value to. Value and variable type must be compatible.
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