Help for option Explicit in VB 6 or higher versions?
what’s the use involving declaring method Explicit with the top of every code throughout vb HALF A DOZEN or 8 or10
When utilizing it, you have to explicitly lay claim all aspects using Gray or ReDim.Should you attempt to utilize an undeclared varying, you’ll obtain a runtime error.
Fundamentally, it forces you use “clean coding” methods by affirming each adjustable before making use of, or reusing (Dim, ReDim) the idea.
It in addition helps get spelling slips.If for example you create strIntup besides strInput, the interpreter will probably catch that mistake.
Leave a Reply
You must be logged in to post a comment.