
However, i just wanted to mean that a difference between using and not using BYVAL is that if you pass a different datatype and don' t use BYVAL, you get a compile-time error telling you that you passed a mismatched parameter, while when you use BYVAL you don' t get any error (because the datatype is automatically converted

This is good if you passed a different datatype intentionally, but has to be kept in mind if you did it erroneously.
Mmm, even though i don' t use BYVAL at all (to readily catch my frequent mismatched parameters

------------------
Davide Vecchi
[email protected]
Leave a comment: