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

Home » Public Forums » archive » CALL_EXTERNAL simple problem ?
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: CALL_EXTERNAL simple problem ? [message #28040 is a reply to message #27926] Fri, 16 November 2001 07:27 Go to previous message
the_cacc is currently offline  the_cacc
Messages: 104
Registered: October 2001
Senior Member
> ...all of the examples I can find in chapter 7 of the IDL 5.3
> External Development Guide (EDG) show the C routines to have the form:
>
> function_name (int argc, void* argv[])
>


The IDL 5.0 advanced development guide p.57 was what stumped me (yeah,
old manual but the only one I had). It has a beautiful sum_array
program that accepts arguments directly rather than by the command
line type interface so I just assumed this was OK.

Now with *the knowledge* I notice that all other examples are in
(argc,argv) form and a sentence on p.49 telling me that "Any routines
called by CALL_EXTERNAL should be defined with a prototype similar
to...[ the (argc,argv) format ]." Note "should" rather than "MUST AT
ALL COSTS AND WITHOUT FAIL" and "similar to" rather than "EXACTLY,
COMPLETELY IDENTICAL TO" !!

Ciao.
[Message index]
 
Read Message
Read Message
Previous Topic: Problems with CHISQR_PDF when moving from IDL 5.2 to 5.4
Next Topic: Problem with gaussfit in IDL/v5.5

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

Current Time: Wed Oct 08 16:52:31 PDT 2025

Total time taken to generate the page: 0.00425 seconds