devxlogo

Return Values Not Required!

Return Values Not Required!

You do not have to use the return value of any function! Thisnew behavior is in the manual (under CALL), but is a shocker,and a little dangerous:

 Private Sub Form_Load()         diceEnd SubFunction dice() As Integer                dice = Int(Rnd * 6) + 1                InputBox "Don't bother typing, _                        I DON'T CARE ABOUT IT!"End Function

devx-admin

Share the Post: