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

Home » Public Forums » archive » Re: Ellipsis in IDL?
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: Ellipsis in IDL? [message #40115 is a reply to message #40113] Wed, 21 July 2004 21:37 Go to previous messageGo to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
> You can't do exactly that, but you can write a routine to accept a large
> number of arguments (better called positional parameters) and then use
> the various inquiry functions (like N_PARAMS, SIZE, N_ELEMENTS &
> ARG_PRESENT) in your code to handle the different cases.

Ah, I see. I think I can work with this. I don't expect to ever have
more than eight or so argu-- positional parameters. I have used SIZE
and N_ELEMENTS in the past, but I had never run across N_PARAMS until
now. That greatly simplifies things. It's a good thing you mentioned
it or I probably would have written my own. ;-) I say that because one
time I got part of the way through writing my own KEYWORD_SET type of
function before realizing that IDL already had it's own handy
KEYWORD_SET function.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Keyboard Shortcuts
Next Topic: ActiveX events

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

Current Time: Sat Nov 29 08:57:24 PST 2025

Total time taken to generate the page: 0.80382 seconds