There's so many ways to access an external module.
x = FunctionName()
SubName
Call Name
When do i say call?
When do i just type the name of whatever i want called on a line by itself?
Printable View
There's so many ways to access an external module.
x = FunctionName()
SubName
Call Name
When do i say call?
When do i just type the name of whatever i want called on a line by itself?
It makes no difference as far as I know.
Call ThisFunction(a,b) and ThisFunction a, b should produce the same result...
There is an ongoing thread right now talking about this, and there have been numerous ones in the past. Don't start a new one.
The simplest answer would be: whenever you want to. It doesn't really matter.
It doesn't really matter. I think it's a matter of preference. I personally always use call because I like to be able to enclose the values I wish to pass to the function/routine in parentheses. Also, I can quickly pick out in a routine where I'm calling other functions. But like I said, it's just a matter of personal preference. In VB .Net, you will ALWAYS use call. You can no longer just type the routine/function name so if you plan to move to VB .Net, it might not be a bad idea to get into the habit of using the Call keyword.
That's crazy! Why on earth would they do such a thing? I guess it is yet again "Microsoft's infinite wisdom..." they're totally losing the point of a BASIC-based language, in my (humble) opinion...:mad:Quote:
Originally posted by smcgarry
In VB .Net, you will ALWAYS use call. You can no longer just type the routine/function name so if you plan to move to VB .Net, it might not be a bad idea to get into the habit of using the Call keyword.
If this is true, why hasn't anyone brought it up in the huge Call discussion?
I don't know... which thread is that?
P.S. Hobo, it's great to know that you're alive. No pizza for you though.
I have no idea why not... maybe it's not true? Smcgarry, are you sure?
And Hobo, how's your finger?
It's still there :(
Uh, the blue thing, I mean. Well, and the finger too.
"Oh, no" for the blue thing, and "good" for the finger.:D
What have you done with it?
Stared at it?
-Off to work