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

Home » Public Forums » archive » 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
Ellipsis in IDL? [message #40122] Wed, 21 July 2004 15:58 Go to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
How do you define a procedure to take N number of arguments when you
don't know what N is before the procedure call? For those of you who
have worked with C, what I'm after is something similar to the ellipsis
(...) which allows N many arguments to be specified for functions such
as printf.

In IDL, the print command is obvious example of what I'm trying to do.
The signature of print is:

print [, Expr1, Expr2, ... , ExprN]

So, how can I write a procedure to take N many arguments?

-Mike
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: red hat and colors
Next Topic: % FINDFILE: Error managing child process.

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

Current Time: Fri Oct 17 23:53:51 PDT 2025

Total time taken to generate the page: 1.43889 seconds