Guest E.R.Rock Posted September 5, 2006 Share Posted September 5, 2006 Hi, I've never coded in VBScript before (actually, haven't coded in 15 years) and I'm assuming (I know, you should never assume) that, by default, parameters are passed by value. Is this correct? And if so, does VBScript provide a method for passing by reference? And if by reference is the unlikely default, then is there a method for passing by value?TIAE.R.Rock Link to comment Share on other sites More sharing options...
steph74 Posted September 7, 2006 Share Posted September 7, 2006 To define how to pass parameters, juste write byRef or byVal before the parameter name in the function header. The default mode is byRef Link to comment Share on other sites More sharing options...
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