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

Answer Posted / cybergh0st

Byval refers to the actual value of the variable. ByRef
refers to the location of where the value is stored.
Passing.

Is This Answer Correct ?    44 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is vbscript language a case-sensitive language and what does it mean?

553


Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.

2563


How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.

1747


Which operator can be used to change the value of the operand or change the state of the condition?

582


write any ttest cases using check points and parameterization

1824






i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me

1804


How will you get a random number between 0 and 1 in vbscript?

724


how does vb script help in web page designing? explain with example.

1591


Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP

1878


How to create a cookie using vbscript?

596


What is vbscript procedures?

605


Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?

531


Explain different types of segment?

578


How to add actions in driver script to run those actions in QTP?

1525


What are the special sub-types in vbscript?

555