NguyenLeNhatTan Posted November 29, 2007 Posted November 29, 2007 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
Emperor Posted November 29, 2007 Posted November 29, 2007 Func ChangeValue(ByRef $inputVar) $inputVar=100 EndFunc
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now