Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is purpose of scripting.filesystemobject class in vbscript?

1123


What are class variables?

1035


Explain the functionality of vbscript?

943


How to open browser in vb script?

1246


about vb scripting programs this type of all question& answers

2138


Explain the string concatenation function in vbscript?

1048


Which operator is used to concatenate the 2 values in the vbscript language?

1014


If else for do while select in vb script?

1164


What is Procedure or Subroutine in VB Script?

1152


What are the valid scopes of a variable in vbscript?

1100


How to Import data from a file (file is on the desktop) to the data table

2070


create a form to accept username and password validate the username and password with using message box, display the corresponding user message

2629


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)

2125


write a program to display configuration of a local system with the help of vb script.

2124


Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com

1486