The min() builtin just forwards the arguments as a method call using the
first argument as the target.  From the standpoint of the place where the
error is detected, this is the correct position.

Rick


On Mon, Nov 26, 2012 at 12:22 PM, Hobart Spitz <orexx...@gmail.com> wrote:

> Alcon;
>
> In the following, it appears that the argument number inserted in the
> message is not correct.  It seems it should be 2, not 1.
>
>    301 *-*                     RC.Worst:
>    302 *-*                     procedure
>    303 *-*                     RetRC = arg(1)
>        >>>                       "4"
>    305 *-*                     do iArg = 2 to arg()
>        >>>                         "2"
>    306 *-*                       ThisRc = arg(iArg)
>        >>>                         "MAXRC"
>    307 *-*                       if RetRC >= 0 & ThisRC >= 0
>        >>>                         "1"
>    307 *-*                         then
>    308 *-*                           RetRC = min(RetRC, ThisRC)
>   Oooops ! ... try again.     Incorrect call to method
>                               Method argument 1 must be a number; found
> "MAXRC"
>   rc = 93.904 ............................... rexxtry.rex on WindowsNT
> parse version v
>   ........................................... rexxtry.rex on WindowsNT
> say v
> REXX-ooRexx_4.1.0(MT) 6.03 5 Dec 2010
>   ........................................... rexxtry.rex on WindowsNT
>
> Thanks.
>
> - Hobart
>
> --
> OREXXMan
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to