Let Statement

αž•αŸ’αžαž›αŸ‹β€‹αžαž˜αŸ’αž›αŸƒβ€‹αž˜αž½αž™β€‹αž‘αŸ…β€‹αž’αžαŸαžšβ€‹αž˜αž½αž™Β αŸ”

αžœαžΆαž€αŸ’αž™β€‹αžŸαž˜αŸ’αž–αž“αŸ’αž’ αŸ–

Let Statement diagram


[Let] variable = expression

αž”αŸ‰αžΆαžšαŸ‰αžΆαž˜αŸ‰αŸ‚αžαŸ’αžš αŸ–

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

αžšαžΌαž”β€‹αžαŸ†αžŽαžΆαž„β€‹αž…αŸ†αžŽαžΆαŸ†

αžŠαžΌαž…β€‹αž“αŸ…αž€αŸ’αž“αž»αž„αž‚αŸ’αžšαžΆαž˜β€‹αž—αžΆαžŸαžΆβ€‹αž—αžΆαž‚αž…αŸ’αžšαžΎαž“ Basic αž–αžΆαž€αŸ’αž™αž‚αž“αŸ’αž›αžΉαŸ‡Let αž‚αžΊαžαžΆαž˜αž…αž·αžαŸ’αžΒ αŸ”


αž§αž‘αžΆαž αžšαžŽαŸ αŸ–


Sub ExampleLet
Dim sText As String
    Let sText = "Las Vegas"
    MsgBox Len(sText) REM Returns 9
End Sub

Please support us!