Jump to content
Sign in to follow this  
NguyenLeNhatTan

Big problem with var

Recommended Posts

NguyenLeNhatTan

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

Share this post


Link to post
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
Sign in to follow this  

×