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 / fgf

Small correction: we have to call the function

Function abc(ByRef var)
var=var+1
End Function

Dim x:x=2
Call abc(x)
Msgbox x

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is loose binding? Why is it not a good practice to use it?

1087


Which operator can be used to do an xor operation in vbscript?

1256


How are values assigned to string type and numeric type variables?

1008


What are the disadvantages of vbscript?

1248


What is sql loader? Explain the files used by sql loader to load file?

1168


Which command is used for writing text on a page?

1005


Explain the extension .hta?

966


What are the 2 ways in which a variable can be declared in the vbscript language?

1064


What is dictionary object in vbscript? Explain?

1185


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

2858


How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.

3025


Explain the support of asp for vb script functionality?

1077


What is the purpose of on error resume next statement?

996


Mention what is the technology used by vb script?

980


Why is it recommended to close the database connection every time after the work is completed?

939