Option Explicit Statement

Specifies that every variable in the program code must be explicitly declared with the Dim statement.

note

The Option Explicit statement is evaluated at run time.


Syntax:

Option Explicit

Parameters:

warning

Foolishsho mojulete giddo loosantanno pirogiraame koodera albaanni ledama hasiissannose.


Example:


Option Explicit
Sub ExampleExplicit
Dim sVar As String
    sVar = "Las Vegas"
    i% = 1 nni 10 geeshsha ' Kuni dodammete so'ro giddo kalaqamanno
        Rem
    Next i%
End Sub

Please support us!