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...

What is the difference between ByRef and ByVal.
When to use ByRef and ByVal

Answer Posted / sagar mitra

ByRef refers to the location, ByVal refers to the actual value. Also, if you are passing parameters with "ByVal" then even if the parameter values are changed, the original argument values will remain intact. But if you pass using "ByRef" then if the parameter values are changed, then the original argument value is also modified

Is This Answer Correct ?    26 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

who will create the object?

1915


what do you mean .ota mobile format

2428


write a function to read the items from combobox of Flight reservation & save in excel (QTP)??

2782


Mention what if you do not specify anything when you call a procedure?

925


Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?

1225


Is VB Script Case sensitive or Case insensitive?

1032


wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......

1835


Write a Script for ATM in QTP

3800


How strcomp function works?

1017


Why to use option explicit in vb script?

998


Explain about tristate constants in vbscript?

1030


regular expression that will recognize a browser as long as its name property starts with mybrowser

2179


How will you release the memory acquired by an array variable in vbscript?

1166


Explain How do you create a recordset object in vbscript?

962


filter the array values without using filter function?

2042