Is it possible to call a function using a variable that contains the function name?
I've got a large QB 4.5 app that I'm converting, and this technique is used all over the place.
Here's an example (converted to PB/CC format):
I've got a large QB 4.5 app that I'm converting, and this technique is used all over the place.
Here's an example (converted to PB/CC format):
Code:
DIM prg AS STRING prg = "FuncName" ' This following function call causes "Error 462: Undefined SUB/FUNCTION reference" CALL prg FUNCTION FuncName() AS LONG ' do function stuff here... END FUNCTION
Comment