Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
winflowers
Posted - 09/18/2007 : 10:20:21 AM Origin Version (Select Help-->About Origin): Origin 7.5 SR6 Operating System: XP
The function name is stored in a string variable. How can I call this function in the same .c folder.
It seems that FindFunction can find and run a function in a different .c file. But I think probably there is a simpler way to do so.
void aaa() { ... }
void bbb() { ... string strFunc="aaa"; //I would like to run aaa() here ... }
1 L A T E S T R E P L I E S (Newest First)
Mike Buess
Posted - 09/18/2007 : 1:11:23 PM Sorry, you still need to use FindFunction even if the function is in the same file. But you can use __FILE__ in place of the current file path\name.