VB Script?
In this line of code what would the definition of an argument be?
Sub mysub(argument1,argument2)
some statements
End Sub
Thanks
Daniel
Desktop
In this line of code what would the definition of an argument be?
Sub mysub(argument1,argument2)
some statements
End Sub
Thanks
Daniel
by hclarius
Arguments are variables you pass to a procedure or function. Arguments in the arguement list are separated by commas(if there are more than 1). If you don't specify the arguement type (AS type) it will default to variant.
Sub CompareInt(I,J)
If I>J Beep
End Sub
by danielr
by danielr
This discussion is closed to new replies.
Sort by Trending