Page 1 of 1

TailBite Status and PB4

Posted: Tue Jul 25, 2006 12:18 pm
by Falko
Hi,
I will make from this Procedures with default-Parameter a lib in TailBite:

Code: Select all

Beispiel: Parameter mit Standardwert

  Procedure a(a, b, c=2)
    Debug c
  EndProcedure

  a(10, 12)      ; 2 wird als Standardwert für den dritten Parameter genutzt
  a(10, 12, 15) 

and so i have make this for TailBite:


Code: Select all

ProcedureDLL Test(arg1, arg2)
arg3=2; Defaultparameter arg3
ProcedureReturn arg3
EndProcedure

ProcedureDLL Test2(arg1, arg2, arg3)
ProcedureReturn arg3
EndProcedure

Just beginning with Test... in the IDE and see on the StatusBarField
There shold be:
Test(arg1,arg2[,arg3])
but is
Test([g1, arg2 [,arg3])

Is this a Bug or a future?

Sorry my english :roll:

Regards Falko

Re: TailBite Status and PB4

Posted: Tue Jul 25, 2006 3:05 pm
by gnozal
Falko wrote:Is this a Bug or a future?
Yes, I noticed that too.
I think it's a bug, because it used to work fine with the old Tailbite.
El_Choni said the new Tailbite would handle the PB4 optional arguments ; I think he is on holidays right now.