While they would be useful, they would probably not get used that much. And
in fact, I have not really used the ArrayOfOne and ArrayOfTwo APIs. I was
doing things the hard way :-)

Thanks,
W. David Ashley
IBM Systems and Technology Group Lab Services
Open Object Rexx Team
Mobile Phone: 512-289-7506



                                                                       
             "Rick McGuire"                                            
             <[EMAIL PROTECTED]                                         
             l.com>                                                     To
             Sent by:                  "Open Object Rexx Developer Mailing
             oorexx-devel-boun         List"                           
             [EMAIL PROTECTED]         <[email protected]
             orge.net                  >                               
                                                                        cc
                                                                       
             09/16/2008 07:48                                      Subject
             AM                        [Oorexx-devel] A question about the
                                       APIs for Mark and David.        
                                                                       
             Please respond to                                         
             Open Object Rexx                                          
             Developer Mailing                                         
                   List                                                
             <[EMAIL PROTECTED]                                         
             ts.sourceforge.ne                                         
                    t>                                                 
                                                                       
                                                                       




Mark, David,

Now that you've had some experience using the new APIs, I have a
question about whether we should add a couple of additional ones.  In
the APIs, there are two for quickly creating array instances,
ArrayOfOne() and ArrayOfTwo().  These are created because there are
situations where you need to pass an array item in to APIs.  The
specific cases I have in mind are SendMessage() and RaiseException().
However, those two APIs also have convenience versions that bypass the
need to create an array (e.g., SendMessage1() or RaiseException2()).
I'm wondering if I should raise the convenience level of these APIs by
added ArrayOfThree() and ArrayOfFour().  One and Two items will cover
a fairly high percentage of uses, though I suspect a lot of uses of
these became unnecessary because of SendMessage1() et al.  Three and
Four will be particularly useful for a lot of method/raise invocations
that require more than 2 arguments.  Beyond four is, I think, the
point of diminishing returns.

So, in your work with the APIs, have you found the need to create
array items with more than 2 elements and had to fill them in the "old
fashined way"  Do you think adding these additional two would be
useful?

Rick

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

<<inline: graycol.gif>>

<<inline: pic06087.gif>>

<<inline: ecblank.gif>>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to