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

Home » Public Forums » archive » Re: passing a function name to a procedure
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: passing a function name to a procedure [message #1140] Thu, 22 July 1993 03:34
csillag is currently offline  csillag
Messages: 7
Registered: July 1993
Junior Member
In article <marty.743294459@venus>, marty@auriga.rose.brandeis.edu (Marty Stanton) writes:
|> I'm trying to use a idl procedure which requires as input the name of
|> a function which it will find a local minimum for:
|>
|> ; CALLING EXAMPLES:
|> ; minF_parabolic, xa,xb,xc, xmin, fmin, FUNC_NAME="name"
|>
|> this routine uses the function CALL_FUNCTION:
|>
|> fmin = call_function( func_name, pn + xmin * dirn )
|>
|> I haven't been able to find an easy way to do this in PV-WAVE.
|> Does anyone have a solution or any ideas?
|>
|> Thanks
|>
|> marty@dark.rose.brandeis.edu
|>

I would try to use the function EXECUTE in the procedure:

status = Execute( funcName + arumentsList )

All the best, Andre Csillaghy

csillag@astro.phys.ethz.ch
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: passing a function name to a procedure
Next Topic: More Volume Questions

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

Current Time: Wed Oct 08 19:42:40 PDT 2025

Total time taken to generate the page: 0.00472 seconds