run-time function creation [message #83899] |
Wed, 10 April 2013 07:33 |
PMan
Messages: 61 Registered: January 2011
|
Member |
|
|
I know this is a bit off the wall, but I was wondering if there is a technique or method for doing run-time function creation.
The reason I ask is I was looking at the IDL integration routines (e.g., qsimp) and this requires a singular argument function name as input. My problem is I have a function with several parameters I need to integrate, but don't have these parameters until I calculate them at run time. If I could somehow create the function dynamically, I could create a function that would satisfy the the qsimp requirement for a single argument function, but prior to run-time I can't.
Anyway, I know this is a wacky and maybe even a silly question, but can't hurt to ask.
Regards,
Paul
|
|
|