← BYTES
Visual Basic·Starter·Ref: 24.1.10

What does Option Explicit require?

Have a question about this video? Mention reference 24.1.10 when you contact us.

a.That strings use double quotes
b.That all procedures be Public
c.That all variables be declared before use
d.That loops always use Step
Option Explicit forces every variable to be explicitly declared (e.g. with Dim) before it is used, catching typos that would otherwise silently create a new variable.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES24110#VisualBasic