M
MyndPhlyp
I've run into something odd when it comes to calling a Sub in my code.
Most everywhere, whenever I call a Sub, the syntax is:
SubName(param, param, etc.)
But on this one Sub, the VB editor wants the syntax:
SubName param, param, etc.
If I attempt to use the normal syntax, it complains that there isn't an "="
after the call indicating it thinks an assignment is necessary.
The only difference (aside from the internal logic) between this Sub and
other Subs is that I call this one recursively. I've stared at the code for
hours looking for a misplaced or missing punctuation mark or operator to no
avail. I've tried commenting out chunks of code trying to make the editor
happy with the same lack of success.
The code runs using the queer syntax, but it bothers me.
What's going on? Is this normal?
Most everywhere, whenever I call a Sub, the syntax is:
SubName(param, param, etc.)
But on this one Sub, the VB editor wants the syntax:
SubName param, param, etc.
If I attempt to use the normal syntax, it complains that there isn't an "="
after the call indicating it thinks an assignment is necessary.
The only difference (aside from the internal logic) between this Sub and
other Subs is that I call this one recursively. I've stared at the code for
hours looking for a misplaced or missing punctuation mark or operator to no
avail. I've tried commenting out chunks of code trying to make the editor
happy with the same lack of success.
The code runs using the queer syntax, but it bothers me.
What's going on? Is this normal?