QHhrj‖Let Statement

Contents
Gv4C6‖

# PFo8B‖Let Statement

SiQNq‖Assigns a value to a variable.

## yo55G‖Syntax:

srDXY‖

    [Let] variable = expression

## X4WmE‖Parameters:

ZqnVf‖ variable: Variable that you want to assign a value to. Value and variable type must be compatible.

ZCswn‖As in most BASIC dialects, the keyword Let is optional.

## KC9DD‖Example:

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

Please support us!