Return value from a VBScript function

后端 未结 1 1711
滥情空心
滥情空心 2020-12-03 02:51

I have two functions, and I am trying to use the result of one function in the second one. It\'s going to the else part, but it\'s not printing anything for \"c

相关标签:
1条回答
  • 2020-12-03 03:25

    To return a value from a VBScript function, assign the value to the name of the function, like this:

    Function getNumber
        getNumber = "423"
    End Function
    
    0 讨论(0)
提交回复
热议问题