Hi Vasile,

On 15.01.14 10:03, Vasile Surducan wrote:

Trying to compile an old jal code I've noticed since JalV2.4q (Nov 13),
the code below is not compiled anymore, error: "Default parameters are
not allowed". No error on Jal2.4q.

The possibility to specify a default parameter value in a procedure definition implies that (is only useful when) the parameter specification is optional in the procedure call. But the JalV2 docs explicitely tell us that ALL parameters must be specified. So as long as you specify all parameters in the procedure call the specification of a default value in the procedure definition was useless anyway. Earlier versions of the compiler apparently ignored default specifications and didn't throw a message!

As far as I know this has always been the rule with JalV2, but I didn't look further back than 2.4n.

Regards, Rob.



--
R. Hamerling, Netherlands --- http://www.robh.nl

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to