|
-
Jun 19th, 2001, 10:24 PM
#1
Thread Starter
Fanatic Member
Call Function By Name
Do you have any ideas of how to call a function, such as Sin(x), by providing the string "sin" and the double x?
Something like:
lRet = CallFunctionByName("sin", x)
I'm working on a program that parses functions and evaluates them, and this would make life quite a bit easier if such a thing existed. I have found CallByName, which I could possibly manipulate into doing the above, but it would be a pain (and bad code too). Any help would be appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|