How to declare a global variable in vbscript

Global variable: a variable is outside of any function or sub function
Dim x
Function y(a)
    x = x+a
    y=x
End Function

Reference

http://arstechnica.com/civis/viewtopic.php?t=905411

Comments

  1. Best online casino site in India - Lucky Club
    Find out everything about the luckyclub best online casino site in India. Play slots, blackjack, roulette, video poker, live casino, slots, roulette games, jackpot slots

    ReplyDelete

Post a Comment

Popular posts from this blog

How to write data into a excel file using vbscript

Format date as yyyy-mm-dd using vbscript