Jump to content

Big problem with var


Recommended Posts

I have a script like:

dim $myVar

$myVar=22

MsgBox (4069,"Title",$myVar,10) --> out Msgbox is 22

ChangeValue($myVar)

MsgBox (4069,"Title",$myVar,10) --> out Msgbox is 22 too

Func ChangeValue($inputVar)

$inputVar=100

EndFunc

How can I change in my Func "ChangeValue" to change $myVar to 100 (not use return in "ChangeValue")

Please help me, thanks so much

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...