A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Passing Arguments



 
 
Thread Tools Display Modes
  #11  
Old March 24th, 2010, 02:32 PM posted to microsoft.public.access
Stefan Hoffmann
external usenet poster
 
Posts: 991
Default Passing Arguments

hi Jon,

On 24.03.2010 15:05, Jon Lewis wrote:
Call is normally used when 'calling' a function when you want to ignore the
result. Remember a Function normally returns a value whereas a Sub normally
just does something.


http://msdn.microsoft.com/en-us/libr...8VS.80%29.aspx

So the calling a function and discarding a value is the real use here.

I belive that Call is unnecessary when applied to a Sub

It's a legacy from the days when BASIC wasn't visual. In some dialects
the Call was mandatory for subs.


mfG
-- stefan --
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:47 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.