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

Home » Public Forums » archive » passing parameters indirectly
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: passing parameters indirectly [message #6997 is a reply to message #6908] Wed, 04 September 1996 00:00 Go to previous message
John Keck is currently offline  John Keck
Messages: 10
Registered: August 1996
Junior Member
Ken Kobayashi wrote:
> the procedure call in B. Specifically I need to pass extra
> parameters to a function called by CURVEFIT. I looked over the
> manual but could not find a reference; could someone tell me how
> to do this?

I had to do a similar thing with CURVEFIT and found a somewhat simple
solution. By examining the CURVEFIT procedure, I found that it just
passed along *blindly* the "X" variable

( as in Result = CURVEFIT(X, Y, W, A [, Sigmaa]) )

to the function procedure (FUNCT). Thus if you need to pass extra data
to FUNCT you can just pack it into X before you call CURVEFIT. Then
inside your FUNCT, you can unpack X into separate variables.

I hope that is understandable and answers your question.


Regards,



John Keck
[Message index]
 
Read Message
Read Message
Previous Topic: map_continent
Next Topic: Re: slow file-handling

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

Current Time: Sat Oct 11 18:44:29 PDT 2025

Total time taken to generate the page: 1.84149 seconds