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

Home » Public Forums » archive » External Development: Number of arguments
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: External Development: Number of arguments [message #93427 is a reply to message #93426] Tue, 12 July 2016 17:11 Go to previous messageGo to previous message
Jim  Pendleton is currently offline  Jim Pendleton
Messages: 165
Registered: November 2011
Senior Member
On Tuesday, July 12, 2016 at 2:37:48 PM UTC-6, Haje Korth wrote:
> I am cooking on another DLM. I need to check for the number of parameters passed into the routine but need to distinguish between regular arguments and keywords. The argc argument gives me the total but I do not know how to subtract the keyword count. There must be a simpler way of checking every single keyword as to whether it is supplied or not. Help greatly appreciated.
>
> Thanks,
> Haje

See the docs for the internal C function IDL_KWProcessByOffset.

Here's an example from the EDG:

http://www.harrisgeospatial.com/docs/KWExamples.html

Jim P.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: cfitsio library
Next Topic: extract (x,y) for every point of Curve in image

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

Current Time: Wed Oct 08 11:41:32 PDT 2025

Total time taken to generate the page: 0.00904 seconds