How to return a value from function...?
you should not tell msgbox, print.. etc.,
Answer Posted / selva
yes function can return multiple vales.
Public Function fn()
Dim arr(1)
arr(0)=23
arr(1)=67
fn=arr
End Function
a=fn
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.
what is the features of visual basic?
Which loop is used in case of arrays in the vbscript language?
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?
Which operator can be used to do an xor operation in vbscript?
Mention when to use function procedures and what are its characteristics?
what types of bugs will we find out in banking projects for automation testing?
When are redim statement and preserve keyword used in the vbscript language?
how to acces the remote mechine using vb cript(QTP)
What are the uses of vb script?
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
Can u describe what kind of testing are for OTC derivates by banks.
Explain few date functions in vbscript?
Explain about tristate constants in vbscript?
How many types of operators are available in the vbscript language?