I would like to say there is no chance that Call mysub & mysub behave differently, but
whenever I say anything like that it comes back to bite me on the backside. I'll just
say that I have "never" used Call xyz since moving from QBasic to VB version 1 and
that was a very long time ago (!), I've never had a problem omitting Call and it seems
to me highly unlikely that there is a problem.
Ian
----- Original Message -----
From: HouseDad
To: [EMAIL PROTECTED]
Sent: Monday, July 19, 2004 9:21 AM
Subject: [vbhelp] Re: new line character
Thanks to all who replied, and for the shorthand list (which I have
seen before but didn't think I really needed it, but now understand
its usefulness!).
I don't suppose there is also a "quirk" around using CALL to call a
sub or just calling the same by name?
I would almost swear that I noticed different behavior between
CALL mysub
and
mysub
It seemed like using CALL ensured the execution picked up after the
call instruction (after the called routine exectuted), where just
using the sub name executed the sub but didn't return to the spot the
call was made.
[C]
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [EMAIL PROTECTED]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
Yahoo! Groups Sponsor
ADVERTISEMENT
------------------------------------------------------------------------------
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
b.. To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/k7folB/TM
--------------------------------------------------------------------~->
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [EMAIL PROTECTED]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/