Got an idea for enhancing PureBasic? New command(s) you'd like to see?
traumatic
PureBasic Expert
Posts: 1661 Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:
Post
by traumatic » Thu May 26, 2005 8:47 am
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.
Good programmers don't comment their code. It was hard to write, should be hard to read.
Inner
PureBasic Expert
Posts: 714 Joined: Fri Apr 25, 2003 4:47 pm
Location: New Zealand
Post
by Inner » Thu May 26, 2005 11:16 am
what your really asking for it optional arguments to procedures / interface methods.
Fred
Administrator
Posts: 18162 Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:
Post
by Fred » Thu May 26, 2005 11:24 am
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.
traumatic
PureBasic Expert
Posts: 1661 Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:
Post
by traumatic » Thu May 26, 2005 11:24 am
Inner, hehe, wasn't aware of that, thanks for telling me!
Thanks Fred!
Good programmers don't comment their code. It was hard to write, should be hard to read.
Num3
PureBasic Expert
Posts: 2812 Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:
Post
by Num3 » Thu May 26, 2005 1:12 pm
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 !!!