|
|
MAX - another problem
ROO's diagnostics are better than the others
/* REXX *******************************************************
ORexx:
3 +++ xre=MAx(0,,1)
Fehler 40 w�hrend des Ausf�hrens von "H:\ob2.rex", Zeile 3: Ung�ltiger
Aufruf einer Routine
Fehler 40.3: Nicht genug Argumente beim Aufruf von "MAX"; das Minimum ist 3
Regina:
3 *-* xre=MAx(0,,1)
Error 40 running H:\ob2.rex line 3: Incorrect call to routine
Error 40.5: Missing argument in invocation of MAX; argument 1 is required
ROO:
Error 40 : Incorrect call to routine (SYNTAX)
Information: MAX argument 2 is invalid. Invalid number.
Argument value: ->nil<-
Error occurred in statement# 11
Statement source: xre= MAx(0,,1)
Statement context: H:\ob2.rex, procedure: ob2
**************************************************************/
xre=MAx(0,,1)
|
|
0
|
|
|
|
Reply
|
Walter
|
3/13/2005 8:36:30 PM |
|
Regina has now been fixed. It now results in:
Error 40 running H:\ob2.rex line 3: Incorrect call to routine
Error 40.5: Missing argument in invocation of MAX; argument 2 is
required
which is what the ANSI standard states.
Walter u. Christel Pachl wrote:
> ROO's diagnostics are better than the others
But it is not ANSI standard ;-)
>
> /* REXX *******************************************************
> ORexx:
> 3 +++ xre=3DMAx(0,,1)
> Fehler 40 w=E4hrend des Ausf=FChrens von "H:\ob2.rex", Zeile 3:
Ung=FCltiger
> Aufruf einer Routine
> Fehler 40.3: Nicht genug Argumente beim Aufruf von "MAX"; das Minimum
ist 3
> Regina:
> 3 *-* xre=3DMAx(0,,1)
> Error 40 running H:\ob2.rex line 3: Incorrect call to routine
> Error 40.5: Missing argument in invocation of MAX; argument 1 is
required
> ROO:
> Error 40 : Incorrect call to routine (SYNTAX)
> Information: MAX argument 2 is invalid. Invalid number.
> Argument value: ->nil<-
>
> Error occurred in statement# 11
> Statement source: xre=3D MAx(0,,1)
> Statement context: H:\ob2.rex, procedure: ob2
> **************************************************************/
> xre=3DMAx(0,,1)
|
|
0
|
|
|
|
Reply
|
markh
|
3/15/2005 7:54:02 AM
|
|
|
1 Replies
153 Views
(page loaded in 0.25 seconds)
|
|
|
|
|
|
|
|
|