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
Re: Ellipsis in IDL? [message #40268 is a reply to message #40122] Thu, 29 July 2004 18:49 Go to previous message
Evan Fishbein is currently offline  Evan Fishbein
Messages: 4
Registered: May 1999
Junior Member
About 1/2 year ago I asked RSI to include this capability. If enough
people ask, I am sure they will comply. As for the suggestion about
puttomh a list of arguments into a ptr array and using a case statement
to processess the argument list I once wrote program that wrote a
progam to put an argument list with up to 1024 arguments into a ptr
array. It is attached.

Michael Wallace wrote:
> 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: Thu Oct 23 04:36:56 PDT 2025

Total time taken to generate the page: 2.64095 seconds