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
Which data type/types are supported by vbscript language and what are their specialties?
give me any information abou vb script books learn quckly
Explain about the support of asp for vb script functionality?
Compare java script and vb script?
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
How will you get the exponent of the given number in vbscript?
Explain the adodb.stream class?
Is VB Script Case sensitive or Case insensitive?
what is diff between static and dynaic arrys?
Mention what is vbscript procedures?
How to pass argument by reference to a function in vbscript?
What are subprocedures in vbscript?
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)
Which loop is used in case of arrays in the vbscript language?
Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)