Module
Contents
Index 🔎︎

# Let Statement

Atribúe un valor a unha variábel.

## Sintaxe:

    [Let] NomeVar=Expresión

## Parámetros:

VarName: 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.

## Exemplo:

    Sub ExampleLet

    Dim sText As String

        Let sText = "Las Vegas"

        MsgBox Len(sTexto) REM Devolve 9

    End Sub