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
What is purpose of scripting.filesystemobject class in vbscript?
What are class variables?
Explain the functionality of vbscript?
How to open browser in vb script?
about vb scripting programs this type of all question& answers
Explain the string concatenation function in vbscript?
Which operator is used to concatenate the 2 values in the vbscript language?
If else for do while select in vb script?
What is Procedure or Subroutine in VB Script?
What are the valid scopes of a variable in vbscript?
How to Import data from a file (file is on the desktop) to the data table
create a form to accept username and password validate the username and password with using message box, display the corresponding user message
1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)
write a program to display configuration of a local system with the help of vb script.
Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com