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
hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
What are the special sub-types in vbscript?
Explain about constants in vb script?
What is the extension of the vbscript file?
Mention what if you do not specify anything when you call a procedure?
Mention the environments where vbscript could be run?
How to pass argument by reference to a function in vbscript?
Explain the operator precedence in vb script?
what is the object hyrarchy in QTP for a web based application
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
Mention what is select case statement?
In html file what is an ideal position to include vbscript?
Explain about the functionality of vb script?
What is the use of option explicit in vbscript?