TailBite 1.0 Preview, soon in PureProject and PureArea

TailBite specific forum

Moderators: gnozal, ABBKlaus, lexvictory

El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

Yes, it's normal since I haven't had the time to update the samples nor the help file yet, sorry. Moreover, Gadget creation hasn't been updated and doesn't work yet.
El_Choni
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

ok, that's what i needed to know.

i was asking because i see that you have updated the TB_GadgetVT structure in order to handle new PB4 functions. so you started to work on i guess.

thank you for your big work El_Choni.
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
ABBKlaus
Addict
Addict
Posts: 1143
Joined: Sat Apr 10, 2004 1:20 pm
Location: Germany

Post by ABBKlaus »

Hi El_Choni,

another bug found :oops:
When i try to compile my PDFBarcode demo i get the following error :
Image

The files required to compile can be found here :
1. http://www.purebasicpower.de/downloads/ ... 04_PB4.ZIP
2. http://www.purebasicpower.de/downloads/ ... 01_PB4.ZIP

Thanks :!:

Klaus
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

ABBKlaus: fixed, thx.
El_Choni
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

very little bug :

the help tip of functions with multiples arguments are badly displayed on the bottom of the IDE.

for example it shows :
myFunction([rg1.l, arg2.l [, arg3.l])

instead of
myFunction(arg1.l, arg2.l [, arg3.l])
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

Thx, Flype. I hope that bug disappears when default values for arguments are implemented (soon).
El_Choni
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

Is this right, in the moment optional parameters not supported, old syntax also as new syntax :?:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

El_Choni wrote:magicjo's bug should be solved by now.

Polo: default values for parameters are not implemented yet, the rest should work correctly, doesn't it?
You haven't received my email with the sample file that doesn't work ?
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

ts-soft: old syntax should still work, doesn't it? Can't check right now.

Polo: no, sry.
El_Choni
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

El_Choni wrote:ts-soft: old syntax should still work, doesn't it? Can't check right now.

Polo: no, sry.

Code: Select all

ProcedureDLL  test5(a,b,c,d)
  ;blub
EndProcedure

ProcedureDLL  test4(a,b,c)
  ;blub
EndProcedure

ProcedureDLL  test3(a,b)
  ;blub
EndProcedure

ProcedureDLL  test2(a)
  ;blub
EndProcedure

ProcedureDLL  test(); test it
  ;blub
EndProcedure
gives 5 functions as test(), test2() ...

test() okay
test(a) incorrect number of parameters
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

Hm... I'll have to check this at home. Anyway, old syntax will be dropped. Sorry for the inconvenience.
El_Choni
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

>> old syntax will be dropped
thx for the info, so i will still change the pbosl libs to new syntax :wink:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

El_Choni wrote:Polo: no, sry.
Well...
Have you checked if you have an anti spam or something ? 'cause i've sent it... Well I'm going to send it again anyway
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Ok, I've just sent it :)
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

Polo:

There needs to be at least one ProcedureDLL for your code to be converted to a purelib, but there isn't any in your file. ProcedureDLLs get converted to PB functions. Simple procedures are just code used by those functions, and are discarded if no ProcedureDLL is found, so TailBite assumes that you're trying to build a resident file.
El_Choni
Post Reply