Let Statement/text/sbasic/shared/03103100.xhpLet statementLet StatementAssigns a value to a variable.Syntax:Let Statement diagram[Let] variable = expressionParameters:variable: Variable that you want to assign a value to. Value and variable type must be compatible.As in most BASIC dialects, the keyword Let is optional.Example:Sub ExampleLetDim sText As String Let sText = "Las Vegas" MsgBox Len(sText) ' returns 9End Sub