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

Home » Public Forums » archive » Re: Procedures with variable/dynamic argument list??
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: Procedures with variable/dynamic argument list?? [message #73102 is a reply to message #73089] Fri, 22 October 2010 02:04 Go to previous messageGo to previous message
SonicKenking is currently offline  SonicKenking
Messages: 51
Registered: October 2010
Member
On Oct 22, 7:57 pm, Gray <grayliketheco...@gmail.com> wrote:
> On Oct 21, 9:49 pm, SonicKenking <ywa...@gmail.com> wrote:
>
>> Is it possible in IDL to code a procedure using variable/dynamic
>> argument list?? i.e. the number of arguments is arbitrary and the
>> procedure is able to accept them all with some argument array?
>
>> Similar to the "va_list" in C or "*args" in Python.
>
>> The Print command in IDL is a good example too for accepting arbitrary
>> number of arguments and print them all. Unfortunately, the Print
>> command is not written in IDL, hence no sneak peek of the source code
>> ~~
>
> You want the _EXTRA keyword.

hmm, correct me if I am wrong. But _EXTRA is only good for accepting
extra keyword arguments, not positional arguments. I need something
similar to _Extra, but accept positional arguments.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDLdoc 3.3 released
Next Topic: Re: the "real" screen size

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

Current Time: Wed Oct 08 17:33:29 PDT 2025

Total time taken to generate the page: 0.00431 seconds