comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: run-time function creation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: run-time function creation [message #83897 is a reply to message #83896] Wed, 10 April 2013 07:47 Go to previous message
PMan is currently offline  PMan
Messages: 61
Registered: January 2011
Member
On Wednesday, April 10, 2013 10:33:31 AM UTC-4, Paul Mallas wrote:
> 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

Actually, I think I just answered my own question. I could use the "common" block to pass the other parameters, huh? I have thought about this problem for a day or two, and as soon as I post the question, I come up with a solution myself. I guess I can't think straight until I clutter up the mail boxes of others :)

If there are other suggestions, let me know.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: replacing "NAN" values using interpolation in IDL
Next Topic: CMIP5 model output

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 00:18:58 PDT 2025

Total time taken to generate the page: 0.00598 seconds