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

Home » Public Forums » archive » What subprogram? What parameters and keywords?
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: What subprogram? What parameters and keywords? [message #85701 is a reply to message #85648] Wed, 28 August 2013 13:52 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
On 08/23/13 11:29, Michael Galloy wrote:
> On 8/23/13 8:50 am, fawltylanguage@gmail.com wrote:
>> On Friday, August 23, 2013 4:35:56 PM UTC+2, Mark Piper wrote:
>>
>>> We're looking at introducing the equivalent of argc-argv, where
>>> argv[0] is the name of the routine and argv[1-n] are the
>>> parameters. Ronn Kling suggested that a list would be a good
>>> container for this info. How about new intrinsic routines IDL_ARGC
>>> and IDL_ARGV?

That would be marvyplate.

>> We have keyword parameters, so a HASH seems to be more appropriate.
>> #0 can be the routine name, #1, #2, ... the positional parameters.
>>
>> regards, Lajos
>>
>
> How about a hash for the keywords and a list for the positional parameters?

+1 for the hash<->keywords idea. A list for keywords doesn't make too
much sense (to me at least).

cheers,

paulv
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: operating on tab-/comma-delimited files
Next Topic: concatenating strings

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

Current Time: Wed Oct 08 19:29:27 PDT 2025

Total time taken to generate the page: 0.00398 seconds