TailBite Status and PB4

Everything else that doesn't fall into one of the other PB categories.
User avatar
Falko
Enthusiast
Enthusiast
Posts: 271
Joined: Sat Oct 04, 2003 12:57 pm
Location: Germany
Contact:

TailBite Status and PB4

Post 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
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: TailBite Status and PB4

Post 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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Post Reply