I have this algorithm that I want to implement on VB6.
Sub Main() dim stringVal1 as string, stringVal2 as string dim getOne as boolean stringVal1 = \"FunctO
Generally, such code patterns point to errors in your software design.
In the rare cases where this is really needed, CallByName accomplishes this.
CallByName
Example:
Call CallByName(Me, "NameOfFunction", vbMethod, arguments)