who you define variables and functions in VB?



who you define variables and functions in VB?..

Answer / saimahesh babu

variable declaration:dim a
function declaration:

function nameoffuntion(var)
msgbox var
end funtion

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More VB Script Interview Questions

how to retrive the tooltip by using descriptive programming in qtp?

3 Answers   iGate,


I need help to write a function in vbscript to click on a link. That link looks like a tab. There are 6 tabs. When I click on 1 tab it should show as "on". when I spy the class property is on. But for the one which is not clicked the class property is blank. I have objects created in our custom object repository. Please give me some idea.

1 Answers  


How to load vbs functions in qtp

2 Answers  


what is event handling?

0 Answers  


How to pass argument by reference to a function in vbscript?

0 Answers  






What is the difference between do until loop and do while loop?

0 Answers  


When importing an excel file that has several columns each with different number of rows into QTP's Global datatable, how can you count the number of rows in a particular column?

3 Answers   Logica CMG, McGraw Hill,


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)

0 Answers   iFlex,


How will you get the last occurrence of one string within another string using vbscript?

0 Answers  


How to search word in a string without using instring function?

1 Answers   CSS Corp,


how to acces the remote mechine using vb cript(QTP)

0 Answers   TCS,


How to access array data?

0 Answers  


Categories