Page 1 of 1

[Implemented] Catch wrong argument count in interface method

Posted: Thu May 26, 2005 8:47 am
by traumatic

Code: Select all

Interface IBAR
  bar(a.l, b.l)
EndInterface

foo.IBAR

foo\bar(0)      ; syntax error
foo\bar(0,0,0)  ; garbage to the end of line
foo\bar(0,0)    ; ok ;)
Nothing I'd consider a real bug, that's why I'm posting this here.

Posted: Thu May 26, 2005 11:16 am
by Inner
what your really asking for it optional arguments to procedures / interface methods. :lol:

Posted: Thu May 26, 2005 11:24 am
by Fred
It is a bug in fact so i will move the topic and say: 'It's fixed' ;). About optional parameters it will come with the optional parameter for procedures.

Posted: Thu May 26, 2005 11:24 am
by traumatic
Inner, hehe, wasn't aware of that, thanks for telling me! :lol:

Thanks Fred! :)

Posted: Thu May 26, 2005 1:12 pm
by Num3
Fred wrote:It is a bug in fact so i will move the topic and say: 'It's fixed' ;). About optional parameters it will come with the optional parameter for procedures.
Yiiiiiiiiiiiiiiiiippppy !!!