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. |
|
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
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 | |
|
|