Return more than one value from a function

后端 未结 2 1809
一生所求
一生所求 2021-01-03 10:38

UPDATE: This is the WIP Function.

<%
    Function ReturnTwoValues(Data)

        If Data= Now() Then
            Var1= \"ABC\"
                   


        
2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-03 11:03

    Easy workarounds:

    1. Use an array, or

    2. Use a dictionary object.

    Here's an earlier StackOverflow question that has a full rundown: QTP: How can I return multiple Values from a Function

提交回复
热议问题