how do you make the variable declaration mandatory?what is the use of "option explicit"?
Answer Posted / cnu_thatavarthi
Option Explicit
Dim strValue, strValue
strValue = 20
'Expected Error: Name(Variable) is redefined
Dim intA, intB
intC= intA+intB
'Expected Error: Name(Variable is undefined)
Note: If we can use Option Explicit we have To pass the all the variables And it Is indentify undefined And redefined
variables
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?
Which date function is used in the vbscript language to find the difference between the 2 dates?
Explain few date functions in vbscript?
who will create the object?
Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder
Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?
what do you mean .ota mobile format
Which object provide information about a single runtime error in a vbscript?
When are redim statement and preserve keyword used in the vbscript language?
Which operator can be used to do an xor operation in vbscript?
How to Convert Hex color code to color name in VB Script?
What is sql loader? Explain the files used by sql loader to load file?
How strcomp function works?
give me any information abou vb script books learn quckly
1. How do declare public variable in vb scripts?